sebastian/complexity

Library for calculating the complexity of PHP code units

Maintainers

👁 sebastian

Package info

github.com/sebastianbergmann/complexity

pkg:composer/sebastian/complexity

Statistics

Installs: 563 895 583

Dependents: 9

Suggesters: 0

Stars: 1 259

Open Issues: 2

6.0.0 2026-02-06 04:41 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause c5651c795c98093480df79350cb050813fc7a2f3

  • Sebastian Bergmann <sebastian.woop@phpunit.de>

README

👁 Latest Stable Version
👁 CI Status
👁 codecov

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