PhpMetrics provides various metrics about PHP projects.
composer global require 'phpmetrics/phpmetrics'
phpmetrics --report-html=myreport.html /path/of/your/sources
PhpMetrics is designed to be understable and easy to use. Thanks to d3js, it will scores your project with beautiful graphs. PhpMetrics has a
"colorblind mode".
Do not hesitate to visit the demo.
PhpMetrics interacts with Jenkins or Sonar. It provides reports in many formats (XML, violations, HTML, CSV...). More in Documentation.
PhpMetrics can be extended with plugins (Symfony2...). More in Discover how.
PHPMetrics provides tons of metrics:
PhpMetrics is hosted under MIT license on Github.
PhpMetrics is an Open Source project created by Jean-François Lépine (Halleck45).
a big thanks to all contributors !