PhpMetrics

Static analysis tool for PHP

Github stars Tracking Chart

PhpMetrics

License
Build Status
Latest Stable Version
Slack

Standard report

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

Demo, Documentation, Twitter, Contributing

Quick start

composer require phpmetrics/phpmetrics --dev
php ./vendor/bin/phpmetrics --report-html=myreport .

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

More

If want, you can install PhpMetrics globally with your favorite package manager. You can also visit our documentation.

Author

License

See the LICENSE file.

Contributing

See the CONTRIBUTING file.

Main metrics

Overview
Name With Ownerphpmetrics/PhpMetrics
Primary LanguagePHP
Program languageMakefile (Language Count: 7)
Platform
License:MIT License
所有者活动
Created At2013-12-13 15:31:43
Pushed At2025-09-12 16:17:08
Last Commit At2025-09-06 08:10:48
Release Count65
Last Release Namev2.9.0 (Posted on 2025-07-07 13:56:01)
First Release Name0.0.1 (Posted on )
用户参与
Stargazers Count2.6k
Watchers Count79
Fork Count266
Commits Count0.9k
Has Issues Enabled
Issues Count248
Issue Open Count17
Pull Requests Count224
Pull Requests Open Count0
Pull Requests Close Count54
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private