Stable | Upcoming |
---|---|
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 than 7.1 for parsing source code in a format PHP 5.2 to PHP 8.0
The recommended way to install this library is through composer. If you don't know yet what is composer, have a look on introduction.
composer require bartlett/php-compatinfo
Since release 5.4.2 building of phar version of application is part of composer automated process.
Either when you install or update project with Composer, the bin/phpcompatinfo.phar
file will be built.
NOTE
--no-scripts
option.composer compile-box
command (shortcut of run
, run-script
).Full documentation is written in MarkDown format, and HTML export is possible with Daux.io.
See output results at http://bartlett.laurent-laville.org/php-compatinfo/ or raw *.md
files in docs
folder.
Table of Contents
Features
Components
Configurations
This project is licensed under the BSD-3-Clause License - see the LICENSE file for details