sebastian / complexity
Library for calculating the complexity of PHP code units
Fund package maintenance!
sebastianbergmann
Installs: 340 850 857
Dependents: 9
Suggesters: 0
Security: 0
Stars: 1 142
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