Popularity
7.9
Stable
Activity
2.5
-
2,435
81
260

Code Quality Rank: L4
Programming language: PHP
License: MIT License
Tags: Testing     Code Analysis     Quality     Analysis     Qa    
Latest version: v2.7.4

PHP Metrics alternatives and similar libraries

Based on the "Code Analysis" category.
Alternatively, view PHP Metrics alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of PHP Metrics or a related project?

Add another 'Code Analysis' Library

README

PhpMetrics

License Latest Stable Version Slack

Standard report

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](LICENSE) file.

Contributing

See the [CONTRIBUTING](doc/contributing.md) file.


*Note that all licence references and agreements mentioned in the PHP Metrics README section above are relevant to that project's source code only.