pb30/phpstan-composer-analysis
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| grifart/phpstan-oneline | 0.89 | A PHPStan extension that formats each reported error on a single line, making analysis output easier to read, search, and parse in CI logs or terminals. Useful for grep-friendly error reports and cleaner build output. | 24 | — | 5 | — | 1 | 0.5 | — | MIT | 1 year ago |
|
| wyrihaximus/phpstan-rules-wrapper | 0.89 | 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 | |
| saschaegerer/phpstan-typo3 | 0.88 | PHPStan extension for TYPO3 CMS that teaches static analysis about TYPO3 APIs, service container, Extbase, and framework classes. It adds TYPO3-specific rules and stubs to catch type errors and bugs earlier in extensions and projects. | 51 | 51 | 24 | 219K | 8 | 17.9 | 59.0 | MIT | 3 months ago | |
| orrison/meliorstan | 0.88 | 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 | |
| sidz/phpstan-rules | 0.88 | sidz/phpstan-rules adds extra PHPStan rules for catching magic numbers in comparisons, assignments, function arguments, and arithmetic. Install via Composer and configure ignored numbers, numeric strings, and rule exclusions. | 30 | 31 | 4 | 29K | 0 | 23.1 | 47.7 | MIT | 1 month ago | |
| irstea/phpstan-config | 0.88 | A shared PHPStan configuration package that provides ready-made static analysis rules and settings, so PHP and Laravel projects can adopt strict, consistent code quality checks quickly without manually building and maintaining their own phpstan.neon setup. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| dave-liddament/phpstan-php-language-extensions | 0.88 | A PHPStan extension that adds support for extra PHP language features and type declarations, widening static analysis coverage so PHPStan understands more of your code. Helps catch bugs earlier and reduces false positives in Laravel and PHP projects. | 44 | 45 | 4 | 25K | 0 | 2.1 | 38.5 | MIT | 11 months ago | |
| andersundsehr/phpstan-git-files | 0.88 | PHPStan extension that automatically feeds PHPStan all tracked .php files from your Git repository, so analysis always matches what’s in version control. Install via Composer and include the provided extension.neon/extension.php in your PHPStan config. | 1 | 1 | 0 | 3K | 0 | 24.0 | 52.5 | — | 1 week ago | |
| soyhuce/phpstan-extension | 0.88 | 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 | |
| ergebnis/phpstan-rules | 0.87 | A Composer package of PHPStan rules from ergebnis, bundled in rules.neon and auto-included via phpstan/extension-installer. Adds stricter checks such as final classes, forbidden extends, and no named arguments to complement PHPStan core and strict rules. | 461 | 463 | 23 | 649K | 1 | 32.5 | 51.0 | MIT | 1 week ago | |
| dave-liddament/phpstan-rule-test-helper | 0.87 | 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 | |
| sanmai/phpstan-rules | 0.87 | Extra PHPStan rules from sanmai that extend static analysis for PHP projects. Helps catch additional issues not covered by core rules, improving code quality and consistency with minimal setup. | 3 | 4 | 0 | 2K | 0 | 11.9 | 40.8 | Apache-2.0 | 8 months 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 | |
| eliashaeussler/phpstan-config | 0.87 | Opinionated PHPStan configuration presets and extensions by Elias Häußler. Drop-in rules and baseline settings to standardize static analysis across projects, reduce false positives, and improve code quality with minimal setup for common PHP/Laravel workflows. | 2 | 2 | 0 | 12K | 1 | 9.9 | 51.9 | GPL-3.0 | 10 months ago | |
| voku/phpstan-rules | 0.87 | Additional PHPStan rules to catch risky and redundant condition logic and comparisons. Detects double negatives, PHP 8 behavior changes (0 vs ''), insane/invalid comparisons (0=='0foo', 0==='0'), and type-mismatch checks (e.g., object vs non-object). | 33 | 33 | 1 | 7K | 1 | 0.5 | 32.1 | MIT | — | |
| 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 | |
| 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 | |
| thecodingmachine/phpstan-strict-rules | 0.87 | 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. | 287 | 289 | 27 | 54K | 7 | 26.3 | 36.8 | — | 4 months ago | |
| larastan/larastan | 0.87 | 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 |
How can I help you explore Laravel packages today?