CompatInfo 3.0.0 has just been released.
Support all 100 extensions as in version 2.26.0, with updates.
Changes since RC2:
30 more extensions were migrated from format 2.x to 3.x
fixed PHP warning with
fixed conflict between Reflect and CompatInfo
In waiting full documentation (that should be available before end of this month), here are some commands explained:if you use the CLI version of CompatInfo, from PHAR or source code, you should add a
compatinfo.jsonconfiguration file in the root of your project. Here is an example, with some source-providers declared (accept all Symfony Finder criteria), default plugins required, and some analysers (known as --report in CompatInfo 2.x)UPDATE Since this commit, we have normalized names and old
compatinfo.jsonwas renamed to
phpcompatinfo.json.Example 1: Summary analyser (always available, and display as default report, if none provided)$ compatinfo analyser:run --alias Reflect1Example 2: Extension analyser (with benchmark active if PHP_Timer installed)$ compatinfo --profile analyser:run --alias CompatInfo2 extensionif you forget what analysers are available, uses the
analyser:listcommand.Example 3: List all References that may be detected by CompatInfo 3.0$ compatinfo reference:listExample 4: Inspect full SPL Reference contents (that may be filtered by component; see reference:show options)$ compatinfo reference:show splExample 5: Inspect Reference contents filtered by PHP version (all elements in Core since PHP 5.3)$ compatinfo reference:show --php=">= 5.3.0" coreExample 6: List all Plugins configured for your CompatInfo version.$ compatinfo plugin:listExample 7: List all data sources configured, that may be analysed by CompatInfo.$ compatinfo provider:listExample 8: Show file list in a specific data source.$ compatinfo provider:show --alias phing27