llaville/php-compatinfo

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

PHP

380

2,798 commits

updated May 20, 2026

See the code

README

PHP CompatInfo

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

Versions

ReleasesBranchPHPPackagistLicenseDocumentation
Stable v5.5.xBranch 5.5Minimum PHP Version)Stable Version 5.5License 5.5Documentation 5.5
Stable v6.5.xBranch 6.5Minimum PHP Version)Stable Version 6.5License 6.5Documentation 6.5
Stable v7.0.xBranch 7.0Minimum PHP Version)Stable Version 7.0License 7.0Documentation 7.0
Stable v7.1.xBranch 7.1Minimum PHP Version)Stable Version 7.1License 7.1Documentation 7.1
Stable v7.2.xBranch 7.2Minimum PHP Version)Stable Version 7.2License 7.2Documentation 7.2

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.
compatibility
php

Contributors

llaville

2,494 commits

remicollet

284 commits

vrana

5 commits

glensc

5 commits

llaville/php-compatinfo

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

PHP

380

2,798 commits

updated May 20, 2026

See the code

README

PHP CompatInfo

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

Versions

ReleasesBranchPHPPackagistLicenseDocumentation
Stable v5.5.xBranch 5.5Minimum PHP Version)Stable Version 5.5License 5.5Documentation 5.5
Stable v6.5.xBranch 6.5Minimum PHP Version)Stable Version 6.5License 6.5Documentation 6.5
Stable v7.0.xBranch 7.0Minimum PHP Version)Stable Version 7.0License 7.0Documentation 7.0
Stable v7.1.xBranch 7.1Minimum PHP Version)Stable Version 7.1License 7.1Documentation 7.1
Stable v7.2.xBranch 7.2Minimum PHP Version)Stable Version 7.2License 7.2Documentation 7.2

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.
compatibility
php

Contributors

llaville

2,494 commits

remicollet

284 commits

vrana

5 commits

glensc

5 commits

Languages

PHP

98.6%