Packagist · packagist:sebastian/complexity
sebastian/complexity active
Library for calculating the complexity of PHP code units
| Latest stable version | 6.0.0 |
|---|---|
| Published | 2026-02-06 04:41:32+00:00 |
| Install | composer require sebastian/complexity |
| Required PHP version (composer.json) | PHP >=8.4 |
| License | BSD-3-Clause |
| Advisories on latest version | none known |
| Last verified | 2026-10-08 18:59:29 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2026-02-06 04:41:32 UTC · 244 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 13 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
6.0.0 | 2026-02-06 04:41:32 UTC |
5.0.0 | 2025-02-07 04:55:25 UTC |
4.0.1 | 2024-07-03 04:49:50 UTC |
4.0.0 | 2024-02-02 05:55:19 UTC |
2.0.3 | 2023-12-22 06:19:30 UTC |
3.2.0 | 2023-12-21 08:37:17 UTC |
3.1.0 | 2023-09-28 11:50:59 UTC |
3.0.1 | 2023-08-31 09:55:53 UTC |
3.0.0 | 2023-02-03 06:59:47 UTC |
2.0.2 | 2020-10-26 15:52:27 UTC |
2.0.1 | 2020-09-28 06:05:03 UTC |
2.0.0 | 2020-07-25 14:01:34 UTC |
1.0.0 | 2020-07-22 18:34:30 UTC |
Showing the 13 most recent of 13 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 2.0.3 |
php 8.0 | 2.0.3 |
php 8.1 | 3.2.0 |
php 8.2 | 4.0.1 |
php 8.3 | 5.0.0 |
php 8.4 | 6.0.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of sebastian/complexity?
The latest stable version of sebastian/complexity is 6.0.0, published on 2026-02-06. Verified by Vigia on 2026-10-08.
How do I install the latest version of sebastian/complexity?
Run composer require sebastian/complexity. The latest stable version is 6.0.0 (verified 2026-10-08).
Is sebastian/complexity deprecated?
No. sebastian/complexity is not marked as deprecated in the registry.
Which PHP version does sebastian/complexity require?
sebastian/complexity 6.0.0 declares this requirement: PHP >=8.4.
Does sebastian/complexity 6.0.0 have known vulnerabilities?
No known advisories affect sebastian/complexity 6.0.0 according to the data Vigia checks.
Is sebastian/complexity still maintained?
sebastian/complexity published 1 stable releases in the last 12 months; the most recent was 244 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- phpunit/php-invoker
- symfony/polyfill-php85
- nesbot/carbon
- sebastian/lines-of-code
- symfony/yaml
- league/flysystem
- symfony/filesystem
- sebastian/cli-parser
- symfony/polyfill-php84
- league/mime-type-detection
- sebastian/type
- symfony/polyfill-uuid
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/sebastian/complexity) [](https://vigia.coredls.cloud/packagist/sebastian/complexity) [](https://vigia.coredls.cloud/packagist/sebastian/complexity)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/sebastian/complexity
GET https://vigia.coredls.cloud/v1/packages/packagist/sebastian/complexity/versions/{version}