halleck45 / php-metrics
This package is abandoned and no longer maintained.
The author suggests using the phpmetrics/phpmetrics package instead.
Static analyzer tool for PHP : Coupling, Cyclomatic complexity, Maintainability Index, Halstead's metrics... and more !
v3.0.0rc6
2024-02-08 11:24 UTC
Requires
- php: >=8.1
- ext-tokenizer: *
- nikic/php-parser: ^5.0
Requires (Dev)
- phake/phake: ^4.4.0
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.10
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-strict-rules: ^1.5
- phpunit/phpunit: ^10.5
- roave/security-advisories: dev-latest
- sebastian/comparator: >=5.0.0
- squizlabs/php_codesniffer: ^3.8
- symfony/dom-crawler: ^6.4
Suggests
- ext-dom: To allow XML parsing and report results.
- ext-yaml: To allow yaml parsing of configuration files.
Replaces
- dev-master
- v3.0.0rc6
- v3.0.0rc5
- v3.0.0rc4
- v3.0.0rc3
- v3.0.0rc2
- v3.0.0rc1
- v2.8.2
- v2.8.1
- v2.8.0
- v2.7.4
- v2.7.3
- v2.7.2
- v2.7.1
- v2.7.0
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.0
- v2.4.1
- v2.4.0
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.0
- v2.1.0
- v2.0.0
- v2.0.0-rc
- v1.10.0
- v1.9.2
- v1.9.1
- v1.9.0
- v1.8.5
- v1.8.4
- v1.8.3
- v1.8.2
- v1.8.1
- v1.8.0
- v1.7.0
- v1.6.3
- v1.6.2
- v1.6.1
- v1.6.0
- v1.5.2
- v1.5.1
- v1.5.0
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.1
- v1.0.0
- v0.0.8
- v0.0.7
- v0.0.6
- v0.0.5
- v0.0.4
- v0.0.3
- v0.0.2
- 0.0.1
- dev-3.x-dev
- dev-feature/review-reporting-architecture
- dev-config_group
- dev-ui_composer
- dev-WIP_composer
- dev-wip_composer1
- dev-416_improved_pagerank
- dev-issue-325-provide-miwoc
- dev-legacy-v1
This package is auto-updated.
Last update: 2024-08-07 07:47:09 UTC
README
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
- Jean-François Lépine <@Halleck45>
License
See the LICENSE file.
Contributing
See the CONTRIBUTING file.