phpmetrics / PhpMetrics

Beautiful and understandable static analysis tool for PHP

Home Page:https://phpmetrics.github.io/website/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PhpMetrics

License Latest Stable Version Slack

Standard report

PhpMetrics

PhpMetrics provides metrics about PHP project and classes, with beautiful and readable HTML report.

Documentation | Twitter | Contributing



Quick start

Follow the quick start guide to get started.

# install the package as a dev dependency
composer require phpmetrics/phpmetrics --dev

# run PHPMetrics to analyze a folder and generate a report
php ./vendor/bin/phpmetrics --report-html=myreport <folder-to-analyze>

Then open the generated ./myreport/index.html file in your browser.

You can use a configuration file to customize the report, add options, configure rules for Continuous Integration, etc.

Metrics

You'll find detailed list of metrics in documentation, or running php ./vendor/bin/phpmetrics --metrics

Author

License

See the LICENSE file.

Contributing

See the CONTRIBUTING file.

About

Beautiful and understandable static analysis tool for PHP

https://phpmetrics.github.io/website/

License:MIT License


Languages

Language:PHP 92.7%Language:CSS 3.4%Language:JavaScript 2.3%Language:Makefile 1.1%Language:Dockerfile 0.2%Language:Roff 0.2%Language:Shell 0.1%