php-compatinfo icon indicating copy to clipboard operation
php-compatinfo copied to clipboard

Library that find out the minimum version and the extensions required for a piece of code to run

PHP CompatInfo

Stand With Ukraine

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.2

GitHub Discussions GitHub-Pages Unit Tests

Versions

Stable v5.5.x Stable v6.5.x
Branch 5.5 Branch 6.5 / Master Branch
Minimum PHP Version) Minimum PHP Version)
Stable Version 5.5 Stable Version 6.5
License 5.5 License 6.5
Documentation 5.5 Documentation 6.5

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.