Find out the minimum version and the extensions required for a piece of code to run
PHP CompatInfo is a library that can find the minimum version and the extensions required for a piece of code to run.
It is distributed as source code (install via composer) and a PHAR version that bundles all dependencies in a single file.
Follow development on the official Blog.
Have a look on branch 4.5 for previous stable API 4.x
|Caution||Branch 4.5 will not accept any more any feature requests. Consider to ask your request on branch 5.0 now !|
You can either :
download the phar version 5.0.0
install via packagist the current source dev-master or the stable version 5.0.0
The documentation for PHP CompatInfo 5.0 in English is available online or downloadable offline to read it later (multiple formats available).
AsciiDoc source code is available on
docs folder of the repository.
Contributions to source code and its documentation are always welcome.
This handler is licensed under the BSD-3-clauses License - see the
LICENSE file for details