tomasvotruba/type-coverage
PHPStan extension that measures and enforces a minimum type declaration coverage rate across your properties, params, and return types. Set per-category thresholds in phpstan.neon and raise them gradually, making it easy to adopt even on legacy projects.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nunomaduro/laravel-code-analyse | 0.88 | Laravel Code Analyse brings static code analysis to your Laravel apps. Run the artisan command to scan your codebase against configurable checks, catch common issues early, and keep your code clean, consistent, and production-ready. | 6,548 | 6,548 | 529 | 187 | 39 | 74.7 | 28.6 | MIT | 3 days ago | |
| contributte/phpstan | 0.88 | 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 | 24K | 0 | 4.8 | 56.9 | MIT | 10 months ago | |
| php-static-analysis/phpstan-extension | 0.87 | A PHPStan extension for PHP projects that adds custom rules and configuration to strengthen static analysis. Integrate it with PHPStan to catch potential issues earlier, enforce coding standards, and improve overall code quality in your development workflow. | 15 | 15 | 0 | 2K | 0 | 0.1 | 30.0 | MIT | 1 year ago | |
| phpstan/phpstan-nette | 0.87 | PHPStan extension for the Nette Framework providing precise type inference for components, DI container getByType/createInstance, forms, dynamic Html methods, magic properties, and presenters, plus optional rules for regex validation and Nette\Object deprecation. | 118 | 119 | 46 | 227K | 6 | 33.5 | 58.7 | MIT | 3 weeks ago | |
| canvural/larastan-strict-rules | 0.87 | Extra strict, opinionated PHPStan rules for Laravel. Install via Composer, include rules.neon, and enable or disable checks like no dynamic where, no facades, no global helpers, and no validation in controllers. | 91 | 90 | 7 | 26K | 0 | 27.1 | 39.2 | MIT | 2 months ago | |
| etsglobal/php-static-analysis | 0.87 | A PHP static analysis package from ETS Global for inspecting PHP codebases and supporting code quality workflows. Integrates into Laravel/PHP projects to help surface potential issues, encourage cleaner code, and complement existing test and CI pipelines with additional static checks. | 0 | 0 | — | 50 | — | 0.0 | 23.6 | — | — | |
| phpstan/phpstan-strict-rules | 0.87 | Extra strict, opinionated PHPStan rules for defensive, strongly typed PHP: require booleans in conditions, strict function-call flags, numeric arithmetic operands, matching switch types, no useless casts, and safer loop variable handling. | 714 | 721 | 63 | 5M | 35 | 45.9 | 75.1 | MIT | 4 days ago | |
| phpstan/phpstan-deprecation-rules | 0.87 | PHPStan extension that reports usage of deprecated classes, methods, properties, constants, and traits. Supports custom deprecation markers and scopes, with stub files for deprecations in third-party code you don’t own. | 464 | 468 | 26 | 6M | 17 | 28.8 | 70.1 | MIT | 3 months ago | |
| nunomaduro/larastan | 0.87 | Larastan is a PHPStan extension for Laravel that adds static typing and catches bugs before you write tests. It understands Laravel's magic and boots your app container to resolve runtime types, supporting Laravel 9 through 11+. | 6,547 | 6,561 | 529 | 454K | 39 | 85.5 | 57.3 | MIT | 3 days ago | |
| mglaman/phpstan-drupal | 0.87 | PHPStan extension for Drupal that teaches static analysis about Drupal's APIs—hooks, services, plugins, entity types, and test base classes—so it catches real bugs and deprecations in modules, themes, and profiles while avoiding false positives. | 208 | — | 87 | — | 88 | 41.0 | 31.3 | MIT | 1 month ago |
|
| localheinz/phpstan-rules | 0.86 | A Composer package of PHPStan rules from ergebnis that enforce stricter coding standards, covering areas like final classes, named arguments, and class extension. Install via Composer and include rules.neon, or let phpstan/extension-installer handle it automatically. Best layered on top of PHPStan's... | 462 | 462 | 23 | 382 | 1 | 32.5 | 4.2 | MIT | 1 week ago | |
| phpstan/phpstan-phpunit | 0.86 | PHPStan extension for PHPUnit that improves mock object and assert type inference, supports MockBuilder and phpDoc intersections, and adds optional strict rules for more precise, framework-aware static analysis. | 546 | 550 | 58 | 6M | 34 | 44.3 | 79.3 | MIT | 4 weeks ago | |
| soyhuce/phpstan-extension | 0.86 | A PHPStan extension from Soyhuce that adds custom rules and type extensions for Laravel and PHP projects, helping teams catch bugs earlier and improve static analysis accuracy in CI and local development. | 1 | — | 1 | — | 0 | 0.9 | 1.5 | MIT | 1 year ago | |
| calebdw/phpstan-laravel | 0.86 | A PHPStan extension for Laravel that teaches static analysis about Laravel’s magic, including facades, helpers, Eloquent models, and container bindings, reducing false positives and surfacing more accurate type errors in Laravel apps. | 35 | 35 | 7 | 12K | 0 | 20.4 | 40.9 | MIT | 5 days ago | |
| larastan/larastan | 0.86 | Larastan is a PHPStan extension for Laravel that adds static typing and catches whole classes of bugs before you write tests. It boots your application's container to resolve types only computable at runtime while supporting Laravel's magic. | 6,547 | 6,560 | 529 | 11M | 39 | 85.8 | 78.7 | MIT | 3 days ago | |
| phpstan/phpstan-php-parser | 0.85 | PHPStan extension for nikic/php-parser that adds precise type inference for AST nodes and visitors, improving static analysis of code that parses, traverses, or manipulates PHP source. | 23 | 23 | 8 | 19K | 1 | 0.3 | — | — | 4 years ago | |
| dave-liddament/phpstan-rule-test-helper | 0.84 | A lightweight test helper for PHPStan custom rules. It provides utilities to run rules against sample code and assert expected errors, reducing boilerplate when validating your static analysis extensions. | 1 | 1 | 1 | 9K | 3 | 2.4 | 51.7 | MIT | 11 months ago | |
| wyrihaximus/phpstan-rules-wrapper | 0.84 | WyriHaximus PHPStan Rules Wrapper bundles popular PHPStan rulesets—ergebnis, strict, deprecation, PHPUnit, Mockery, ShipMonk, Symplify, PSR-3 and more—into one Composer package. Install it and, thanks to phpstan/extension-installer, the included rules work out of the box. | 6 | 6 | 0 | 133K | 1 | 31.8 | 64.9 | MIT | 6 days ago | |
| tomasvotruba/cognitive-complexity | 0.84 | A PHPStan extension that measures cognitive complexity of functions and classes, flagging code that's hard to read. Also detects complex constructor dependency trees in services like controllers and rules. | 174 | 171 | 3 | 362K | 0 | 19.6 | 53.2 | MIT | 1 month ago | |
| michaelmoussa/php-coverage-checker | 0.84 | A PHP tool that reads Clover-format code coverage XML and fails the build when coverage drops below a configured threshold. Drop it into CI to enforce minimum coverage on every run. | 24 | — | 8 | — | 0 | 0.2 | — | MIT | 11 years ago |
|
How can I help you explore Laravel packages today?