bartlett/php-compatinfo

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

6.1.1 2022-01-18 08:51 UTC

README

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.4 for parsing source code in a format PHP 5.2 to PHP 8.1

GitHub Discussions GitHub-Pages Tests

Versions

Stable v5.5.x Stable v6.0.x Stable v6.1.x
Branch 5.5 Branch 6.0 Branch 6.1 / Master Branch
Stable Version 5.5 Stable Version 6.0 Stable Version 6.1
Minimum PHP Version) Minimum PHP Version) Minimum PHP Version)
License 5.5 License 6.0 License 6.1
Documentation 5.5 Documentation 6.0 Documentation 6.1

Documentation

All the documentation is available on following websites 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.