NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #68 most downloaded on Packagist
Library for calculating the complexity of PHP code units
Last release 8 months ago
06 Feb 2026
Release timing varies
gaps range from 4 weeks to 2.3 years
Nearly every release is documented
notes for 12 of 13 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
13 releases · first in 2020
One column per quarter.
This component is no longer supported on PHP 8.3
This component is no longer supported on PHP 8.2
This project now uses PHPStan instead of Psalm for static analysis
This component now requires PHP-Parser 5
ComplexityCollection::sortByDescendingCyclomaticComplexity()
ComplexityCollection::sortByDescendingCyclomaticComplexity()match armsnikic/php-parser 5.0Complexity::isFunction() and Complexity::isMethod()
Complexity::isFunction() and Complexity::isMethod()ComplexityCollection::isFunction() and ComplexityCollection::isMethod()ComplexityCollection::mergeWith()### Fixed * #7: ComplexityCalculatingVisitor tries to process interface methods
ComplexityCalculatingVisitor tries to process interface methodsThis component is no longer supported on PHP 7.3, PHP 7.4 and PHP 8.0
Nothing published for this version
SebastianBergmann\Complexity\Exception now correctly extends \Throwable
SebastianBergmann\Complexity\Exception now correctly extends \ThrowableChanged PHP version constraint in composer.json from ^7.3 || ^8.0 to >=7.3
composer.json from ^7.3 || ^8.0 to >=7.3The ParentConnectingVisitor has been removed (it should have been marked as @internal)
ParentConnectingVisitor has been removed (it should have been marked as @internal)[6.0.0]: https://github.com/sebastianbergmann/complexity/compare/5.0...6.0.0 [5.0.0]: https://github.com/sebastianbergmann/complexity/compare/4.0...5.
Your coding agent can read these notes before it upgrades. Set up the MCP server →