Official Blog: http://php5.laurent-laville.org/compatinfo/blog/

As many other software; this essential tool for PHP package maintainers have give up with pear distribution and switch to composer... :(

The official distribution is now a single big phar archive, which includes all the dependencies? This is obviously not acceptable for RPM.

Packages are now adapted to use the system libraries (nikic/php-parser, phpunit/timer, symfony...).

Installation

yum --enablerepo=remi,remi-test install phpcompatinfo

Usage

Warning, syntax have changed !

$ cd /path/to/analyze
$ phpcompatinfo  -v  analyser:run  .  extension

Notice: the . argument is not a path, but a "provider" name, defined in the configuration file.

Configuration file used, in priority order is:

  • file defined by COMPATINFO environment variable
  • compatinfo.json file in current directory
  • user file: ~/.config/phpcompatinfo.json
  • system file: /etc/phpcompatinfo.json (provided)

As always, feedback is welcome.