Packagist · packagist:tomasvotruba/cognitive-complexity
tomasvotruba/cognitive-complexity active
PHPStan rules to measure cognitive complexity of your classes and methods
| Latest stable version | 1.3.0 |
|---|---|
| Published | 2026-09-29 20:40:25+00:00 |
| Install | composer require tomasvotruba/cognitive-complexity |
| Required PHP version (composer.json) | PHP >=7.4 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-09 15:03:46 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-09-29 20:40:25 UTC · 9 days ago |
| Stable releases in the last 12 months | 4 |
| Published versions | 17 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.3.0 | 2026-09-29 20:40:25 UTC |
1.2.0 | 2026-06-08 08:16:55 UTC |
1.1.1 | 2026-05-25 12:12:55 UTC |
1.1.0 | 2026-03-30 14:54:38 UTC |
1.0.0 | 2024-12-13 10:28:54 UTC |
0.2.3 | 2024-01-03 13:13:16 UTC |
0.2.2 | 2023-09-08 09:56:00 UTC |
0.2.1 | 2023-09-08 09:52:59 UTC |
0.2.0 | 2023-09-08 09:47:00 UTC |
0.1.2 | 2023-09-08 09:46:50 UTC |
0.1.1 | 2023-03-12 10:18:06 UTC |
0.1.0 | 2023-03-12 10:16:16 UTC |
0.0.5 | 2022-12-29 13:35:06 UTC |
0.0.4 | 2022-12-29 13:30:55 UTC |
0.0.3 | 2022-12-29 13:29:56 UTC |
0.0.2 | 2022-12-29 13:25:21 UTC |
0.0.1 | 2022-12-23 12:48:03 UTC |
Showing the 17 most recent of 17 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 | 1.3.0 |
php 8.0 | 1.3.0 |
php 8.1 | 1.3.0 |
php 8.2 | 1.3.0 |
php 8.3 | 1.3.0 |
php 8.4 | 1.3.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 tomasvotruba/cognitive-complexity?
The latest stable version of tomasvotruba/cognitive-complexity is 1.3.0, published on 2026-09-29. Verified by Vigia on 2026-10-09.
How do I install the latest version of tomasvotruba/cognitive-complexity?
Run composer require tomasvotruba/cognitive-complexity. The latest stable version is 1.3.0 (verified 2026-10-09).
Is tomasvotruba/cognitive-complexity deprecated?
No. tomasvotruba/cognitive-complexity is not marked as deprecated in the registry.
Which PHP version does tomasvotruba/cognitive-complexity require?
tomasvotruba/cognitive-complexity 1.3.0 declares this requirement: PHP >=7.4.
Does tomasvotruba/cognitive-complexity 1.3.0 have known vulnerabilities?
No known advisories affect tomasvotruba/cognitive-complexity 1.3.0 according to the data Vigia checks.
Is tomasvotruba/cognitive-complexity still maintained?
tomasvotruba/cognitive-complexity published 4 stable releases in the last 12 months; the most recent was 9 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- laracasts/flash
- getbrevo/brevo-php
- spatie/test-time
- authorizenet/authorizenet
- automattic/jetpack-autoloader
- dbrekelmans/bdi
- nette/component-model
- magento/zend-memory
- illuminate/auth
- symfony/webhook
- magento/zend-cache
- magento/magento-composer-installer
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/tomasvotruba/cognitive-complexity) [](https://vigia.coredls.cloud/packagist/tomasvotruba/cognitive-complexity) [](https://vigia.coredls.cloud/packagist/tomasvotruba/cognitive-complexity)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/tomasvotruba/cognitive-complexity
GET https://vigia.coredls.cloud/v1/packages/packagist/tomasvotruba/cognitive-complexity/versions/{version}