shipmonk/phpstan-dev
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symplify/phpstan-rules | 0.92 | 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. | 266 | 265 | 31 | 525K | 0 | 3.5 | 45.5 | MIT | 1 year ago | |
| ergebnis/phpstan-rules | 0.91 | A set of extra PHPStan rules to enforce stricter, opinionated code standards in PHP projects. Install via Composer and include rules.neon (auto via phpstan/extension-installer) to catch issues like named arguments, class design, and more. | 453 | 454 | 24 | 253K | 6 | 27.3 | 45.9 | MIT | 4 months ago | |
| voku/phpstan-rules | 0.91 | 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 | 2K | 1 | 0.4 | 25.8 | MIT | — | |
| phpstan/phpstan-phpunit | 0.88 | PHPStan extension for PHPUnit: improves type inference for mocks (intersection types for createMock/getMock), understands Foo|MockObject phpDocs, adds early-terminating methods to avoid undefined vars, and refines assert() types. Optional strict rules catch improper assertion usage. | 531 | 534 | 56 | 3M | 35 | 38.5 | 74.2 | MIT | 3 months ago | |
| shipmonk/phpstan-rules | 0.86 | 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. | 152 | 154 | 24 | 139K | 1 | 31.1 | 49.3 | — | 2 weeks ago | |
| thecodingmachine/phpstan-strict-rules | 0.85 | 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. | 290 | 290 | 27 | 58K | 9 | 14.1 | 35.2 | — | 4 years ago | |
| sanmai/phpstan-rules | 0.84 | 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 | 19.3 | 41.9 | Apache-2.0 | 3 months ago |
How can I help you explore Laravel packages today?