bartlett/php-compatinfo

Find out the minimum version and the extensions required for a piece of code to run

7.1.3 2024-03-19 07:09 UTC

README

StandWithUkraine GitHub Discussions

PHP CompatInfo is a library that can find the minimum version and the extensions required for a piece of code to run.

Running on PHP greater or equal than 7.2 for parsing source code in a format PHP 5.2 to PHP 8.3

Versions

Releases Branch PHP Packagist License Documentation
Stable v5.5.x Branch 5.5 Minimum PHP Version) Stable Version 5.5 License 5.5 Documentation 5.5
Stable v6.5.x Branch 6.5 Minimum PHP Version) Stable Version 6.5 License 6.5 Documentation 6.5
Stable v7.0.x Branch 7.0 Minimum PHP Version) Stable Version 7.0 License 7.0 Documentation 7.0
Stable v7.1.x Branch 7.1 Minimum PHP Version) Stable Version 7.1 License 7.1 Documentation 7.1

Documentation

All the documentation is available on website, generated from the docs folder.

Contributors

  • Laurent Laville (Lead Dev)
  • Thanks to Nikita Popov who wrote a marvellous PHP Parser.
  • Thanks also to Remi Collet, a contributor of first hours.
  • Credits to Davey Shafik. He introduced his proposal in 2004, that gave birth of a PEAR package named PHP_CompatInfo.