tomasvotruba/cognitive-complexity
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| kcs/phpstan-strict-rules | 0.84 | Fork of thecodingmachine/phpstan-strict-rules to support PHPStan v2. Adds stricter best-practice rules beyond core PHPStan, especially around exception handling (avoid throwing base Exception, empty catches, proper rethrowing). | 3 | 3 | 0 | 4K | 0 | 0.0 | 41.7 | — | — | |
| phpat/phpat | 0.83 | PHPat is a PHPStan extension for architecture testing. Define readable architectural rules and automatically verify boundaries, dependencies, layers, and conventions in your PHP codebase during static analysis. Easy to install via Composer and PHPStan config. | 1,273 | 1,264 | 62 | 545K | 12 | 33.5 | 45.7 | MIT | 4 months ago | |
| arty/php-coding-standard | 0.83 | — | 2 | 3 | 0 | 8 | 0 | 11.2 | 9.6 | MIT | 7 months ago | |
| korbeil/phpstan-generic-rules | 0.83 | PHPStan extension that enforces and improves the use of PHP generics. Adds custom rules to catch missing or incorrect template types, invalid generic usages, and helps keep docblocks and type hints consistent for safer, more accurate static analysis. | 12 | 12 | 5 | 7K | 2 | 7.8 | 39.3 | — | 9 months ago | |
| nunomaduro/phpinsights | 0.83 | PHP Insights analyzes PHP code quality, style, architecture, and complexity from your terminal. Works out of the box with Laravel (artisan insights), Symfony, Yii, Magento, and more, with built-in checks for reliability and loose coupling. | 5,626 | 5,621 | 299 | 268K | 70 | 72.5 | 54.7 | MIT | 3 months ago | |
| contributte/phpstan | 0.83 | Contributte PHPStan integration for Nette projects. Install via Composer and get a ready-to-use PHPStan setup tailored for Nette 3.3+ on PHP 8.2+, with docs and ongoing maintenance by the Contributte team. | 1 | 2 | 2 | 1K | 0 | 10.6 | 42.6 | MIT | 7 months ago | |
| sirbrillig/phpcs-variable-analysis | 0.83 | PHPCS plugin that analyzes variable usage: warns on undefined variables (including in unset), unused variables, and use of $this/self/static outside class scope. Works with PHPCS 3.13.5+ and PHP 5.4+. | 145 | 145 | 17 | 1M | 19 | 36.9 | 71.1 | NOASSERTION | 4 days ago | |
| setono/code-quality-pack | 0.83 | Laravel-friendly code quality pack with ready-to-use tools and config for static analysis, coding standards, refactoring, and CI checks. Helps keep projects consistent and maintainable with minimal setup, ideal for teams and shared repositories. | 7 | 7 | 0 | 744 | 0 | 25.0 | 31.1 | MIT | 3 months ago | |
| shipmonk/phpstan-rules | 0.82 | 40 super-strict PHPStan rules from ShipMonk to plug gaps in extra-strict setups. Install via Composer, include rules.neon, then enable/disable or tune rules per-project. Targets tricky PHP edge cases like unsafe comparisons, casts, arrays, enums and more. | 155 | 154 | 23 | 211K | 1 | 28.4 | 50.9 | MIT | 2 months ago | |
| e-lodgy/coding-standard | 0.81 | E-Lodgy’s shared Easy Coding Standard (ECS) configuration for PHP projects. Install via Composer, import the provided ecs.php, and apply consistent formatting and code style rules across your src, tests, and config files. | 0 | 0 | 1 | 5 | 1 | 2.6 | 10.7 | MIT | 2 years ago | |
| prinsfrank/phpstan-doc-code-analyzer | 0.80 | Analyze and validate PHP code examples in your documentation using PHPStan. This package scans doc blocks and docs for code snippets, runs static analysis, and helps catch outdated or incorrect examples early in CI. | 1 | 1 | 0 | 1K | 0 | 3.3 | 38.6 | MIT | 10 months ago | |
| phpstan/phpstan | 0.78 | PHPStan is a static analysis tool for PHP that finds bugs without running your code. It catches whole classes of errors early, improving type safety and code correctness, and helps you spot issues before writing tests or deploying. | 14,057 | 14,126 | 958 | 10M | 1,072 | 94.7 | 73.3 | MIT | 1 day ago | |
| slam/phpstan-extensions | 0.78 | PHPStan extensions with extra strict rules: unused variables, closure parameter typehints, enforce ::class notation, forbid goto, naming conventions, validate PHPUnit annotation FQCNs, and restrict access to globals/static properties in specific contexts. | 72 | 72 | 13 | 40K | 2 | 26.2 | 44.3 | MIT | 2 months ago | |
| bernardosecades/php-quality-tools | 0.77 | Collection of PHP quality and static analysis tools bundled for easier setup and consistent code standards across projects, including linters, formatters, and test/coverage helpers to streamline CI and improve code health. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| phpstan/phpstan-strict-rules | 0.75 | Extra-strict, opinionated PHPStan rules for highly defensive, strongly typed PHP. Enforces boolean conditions, numeric operands, strict calls (e.g., in_array), detects useless casts, prevents loop variable overwrites, and requires matching switch/case types. | 704 | 713 | 62 | 3M | 38 | 46.2 | 74.5 | MIT | 2 weeks ago | |
| sebastian/complexity | 0.75 | Compute code complexity metrics for PHP units (functions, methods, classes). sebastian/complexity provides programmatic analysis useful for static analysis tools, quality gates, and CI reporting; install via Composer for project or dev-only use. | 1,259 | 1,262 | 10 | 13M | 1 | 17.9 | 60.2 | BSD-3-Clause | 6 months ago | |
| slevomat/coding-standard | 0.74 | — | 1,480 | 1,486 | 194 | 3M | 91 | 63.6 | 81.4 | MIT | 6 days ago | |
| thecodingmachine/phpstan-strict-rules | 0.67 | Extra-strict PHPStan ruleset that flags risky or inconsistent PHP patterns beyond the default checks. Helps enforce cleaner, safer code by catching edge cases and enforcing best practices, with easy opt-in configuration for existing PHPStan setups. | 289 | 290 | 27 | 51K | 7 | 32.8 | 38.3 | — | 1 month ago | |
| sidz/phpstan-rules | 0.66 | Custom PHPStan rules aimed at Laravel projects, helping catch common mistakes and enforce best practices. Adds extra static analysis checks tailored to typical framework patterns, improving code quality, consistency, and confidence during refactors. | 31 | 31 | 4 | 29K | 0 | 5.0 | 41.0 | MIT | 1 year ago | |
| symplify/phpstan-rules | 0.66 | Extra PHPStan rules by Symplify to catch bugs, improve code quality, and enforce consistent conventions. Easy to install and configure, with a broad set of checks for Symfony/Laravel and modern PHP features to keep your codebase clean. | 270 | 268 | 30 | 585K | 0 | 21.4 | 53.1 | MIT | 1 month ago |
How can I help you explore Laravel packages today?