GrumPHP is yet another quality control tool for PHP. But unlike a million other – PHPUnit, PHP CodeSniffer, and the like – this one is more of a tying knot. GrumPHP integrates via git hooks. It runs one more of the other tools, making sure that the changes you are committing are up to the par.
The support for other tools is excellent. You’ll find anything from the basic unit tests and coding style checks to commit message formatting and content, Robo tasks, and even custom shell scripts.
PhpMetrics is yet another tool in the ever growing list of the static code analyzers for PHP. Compared to the rest, I think this one is the easiest to install and run. And it produces the most eye candy reports ever. The generated report is in the HTML format, with fancy charts and graphs, and makes it really easy to spot and fix the issues.
composer-plugin-qa is a Composer plugin which adds all the most popular PHP quality assurance tools as composer scripts, so that you don’t have to install and set them up one by one. The list of tools includes the following: