mglaman/phpstan-drupal
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nunomaduro/laravel-code-analyse | 0.89 | 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 | |
| nunomaduro/larastan | 0.88 | 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 | |
| canvural/larastan-strict-rules | 0.88 | 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 | |
| wyrihaximus/phpstan-rules-wrapper | 0.88 | 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 | |
| slam/phpstan-extensions | 0.88 | 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. | 71 | 72 | 13 | 42K | 2 | 21.8 | 43.2 | MIT | 5 months ago | |
| headercat/phpstan-extension-ide-helper | 0.87 | Provides dummy PHPStan namespace classes and functions so IDEs and autocompletion tools can reference PHPStan internals normally hidden inside its PHAR. Install as a dev dependency to get full autocompletion when writing PHPStan extensions. | 9 | 9 | 0 | 5K | 1 | 31.7 | 43.8 | MIT | 1 week ago | |
| phpstan/phpstan | 0.87 | PHPStan is a PHP static analysis tool that finds bugs in your code without running it. It catches whole classes of errors before tests are written, bringing compiled-language-style correctness checks to PHP projects. | 14,147 | 14,221 | 972 | 19M | 1,056 | 94.9 | 77.1 | MIT | 3 days 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 | |
| shipmonk/phpstan-dev | 0.87 | Utilities for developing PHPStan rules: write expected errors directly in fixture files using // error: comments and avoid brittle line-number assertions. Includes an autofix mode to generate/update inline error comments during rule development. | 7 | 7 | 1 | 6K | 1 | 7.2 | 41.5 | MIT | 9 months ago | |
| shipmonk/phpstan-rules | 0.87 | ShipMonk PHPStan strict rules adds about 40 opinionated, super-strict checks beyond native PHPStan, targeting gaps like unsafe comparisons, casts, and array keys. Install via Composer, include rules.neon, and disable or reconfigure any rule per project. | 156 | 158 | 23 | 376K | 1 | 30.2 | 55.9 | MIT | 1 month ago | |
| oro/phpstan-rules | 0.87 | Oro PHPStan Rules adds custom static analysis checks to PHPStan for Laravel and PHP projects, helping teams catch risky patterns, enforce coding standards, and improve code quality early in CI. Lightweight and easy to integrate. | 13 | 13 | 5 | 538 | 1 | 0.4 | 22.0 | MIT | 2 years ago | |
| php-standard-library/phpstan-extension | 0.87 | PHPStan extension for the PHP Standard Library (PSL) that teaches PHPStan about PSL types, generics, and collection APIs. It improves type inference, adds custom rules, reduces false positives, and catches PSL-specific errors during static analysis for safer, more reliable PHP code. | 24 | 24 | 7 | 66K | 14 | 12.4 | 56.8 | — | 7 months ago | |
| calebdw/phpstan-laravel | 0.87 | 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 | 6 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 | |
| pb30/phpstan-composer-analysis | 0.87 | A PHPStan extension that analyzes your Composer dependencies alongside your code, flagging unused required packages and missing package requirements. Keep composer.json in sync with real usage while running your existing static analysis. | 17 | 17 | 1 | 16K | 1 | 1.5 | 41.4 | — | 11 months ago | |
| soyhuce/phpstan-extension | 0.87 | 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 | |
| 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 | |
| tomasvotruba/type-coverage | 0.87 | 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. | 226 | 223 | 14 | 2M | 0 | 21.0 | 61.7 | MIT | 4 weeks ago | |
| orrison/meliorstan | 0.86 | Meliorstan is a Laravel-focused PHPStan companion that simplifies static analysis setup with sensible presets and helpful rules, so teams can catch bugs earlier, enforce coding consistency, and keep applications safer with less configuration. | 20 | 20 | 0 | 6K | 1 | 19.3 | 39.5 | MIT | 3 weeks ago | |
| mll-lab/laravel-utils | 0.86 | A compact set of practical utilities for Laravel applications, providing reusable helpers and conveniences that cut boilerplate and simplify common development tasks. Easy to install and integrate into existing Laravel projects. Lightweight, dependable building blocks for everyday Laravel developmen... | 6 | — | 3 | — | 0 | 15.0 | — | MIT | 3 months ago |
How can I help you explore Laravel packages today?