Package php-bartlett-PHP-CompatInfo

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

https://github.com/llaville/php-compatinfo

PHP_CompatInfo will parse a file/folder/array to find out the minimum
version and extensions required for it to run. CLI version has many reports
(extension, interface, class, function, constant) to display and ability to
show content of dictionary references.

Version: 7.1.3

General Commands

phpcompatinfo PHP library that parse any data source to find out the minimum version and extensions required for it to run.