Write a PHP library supports PHP 5.6 to 8.1

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • PHP CS Fixer

    A tool to automatically fix PHP Coding Standards issues

  • I run two tools for this - php-cs-fixer on PHP 5.6 and the built-in syntax checker(php -l).

  • github-action-php-lint

  • There's an existing Github Action prestashop/github-action-php-lint which handles this for you.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • sdk-php

    Smartpay PHP SDK (by smartpay-co)

  • A full example of these two checks can be found here

  • PHPUnit-Polyfills

    Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests

  • Yaost/PHPUnit-Polyfills came to rescue. With just tiny adjustments to your tests, this can make your tests run across PHPUnit 4.8~9.x and PHP 5.4+

  • setup-php

    GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.

  • I found shivammathur/setup-php did a better job on supporting old PHP versions, and you don't have to worry about the composer & extension compatibility, it handles those for you.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts