sebastian / complexity
Library for calculating the complexity of PHP code units
Fund package maintenance!
sebastianbergmann
Installs: 352 545 750
Dependents: 9
Suggesters: 0
Security: 0
Stars: 1 160
Watchers: 8
Forks: 10
Open Issues: 2
Requires
- php: >=8.2
- nikic/php-parser: ^5.0
Requires (Dev)
- phpunit/phpunit: ^11.0
README
sebastian/complexity
Library for calculating the complexity of PHP code units.
Installation
You can add this library as a local, per-project dependency to your project using Composer:
composer require sebastian/complexity
If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
composer require --dev sebastian/complexity