wyrihaximus/phpstan-rules-wrapper
Meta-package that bundles popular PHPStan rule sets and extensions for stricter static analysis. Install via Composer and it works automatically with phpstan/extension-installer, pulling in deprecation, PHPUnit/Mockery, strict rules, dead-code detection, and more.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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. | 444 | 444 | 22 | 254K | 6 | 33.8 | 48.0 | MIT | 2 months ago | |
| shipmonk/phpstan-dev | 0.91 | 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 | 9K | 0 | 22.2 | 49.4 | MIT | 2 months ago | |
| localheinz/phpstan-rules | 0.88 | Custom PHPStan rules to enforce stricter coding standards in PHP projects. Includes ready-to-use rules.neon (auto-loaded via phpstan/extension-installer) with checks like no named arguments, class final enforcement, and more. Install via Composer as a dev dependency. | 444 | 443 | 22 | 297 | 6 | 33.8 | 6.8 | MIT | 2 months ago | |
| sidz/phpstan-rules | 0.88 | 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 | 19K | 0 | 24.8 | 45.1 | MIT | 8 months ago | |
| symplify/phpstan-rules | 0.88 | 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. | 262 | 261 | 33 | 501K | 3 | 24.2 | 53.8 | 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 | 1K | 0 | 25.3 | 39.4 | Apache-2.0 | 1 month 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 | 4K | 2 | 1.3 | 31.2 | MIT | — | |
| thecodingmachine/phpstan-strict-rules | 0.86 | 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 | 289 | 27 | 71K | 9 | 34.1 | 43.3 | — | 4 years ago | |
| thecodingmachine/phpstan-safe-rule | 0.86 | PHPStan rule set that flags calls to “unsafe” PHP functions that can return false on failure and suggests using the thecodingmachine/safe equivalents that throw exceptions, helping enforce safer, exception-based error handling in your codebase. | 62 | 62 | 25 | 194K | 2 | 26.3 | 56.7 | — | 4 months ago | |
| phpstan/phpstan-strict-rules | 0.85 | Extra strict, opinionated PHPStan rules for strongly typed PHP. Catches loose/unsafe patterns like non-boolean conditions, useless casts, non-numeric arithmetic, missing strict flags in in_array/array_search, variable overwrites in loops, and switch type mismatches. | 691 | 695 | 58 | 2M | 36 | 45.5 | 74.4 | MIT | 1 month ago | |
| wyrihaximus/phpstan-react | 0.84 | PHPStan extension for ReactPHP projects that flags blocking PHP functions (e.g., file_get_contents, fopen, fread) and suggests async React alternatives from react/filesystem, react/socket, and react/stream. Include the provided ruleset to enforce non-blocking code. | 2 | 2 | 0 | 8K | 2 | 21.0 | 55.8 | MIT | 11 months ago | |
| phpstan/phpstan-deprecation-rules | 0.82 | — | 447 | 451 | 23 | 3M | 16 | 33.5 | 70.4 | MIT | 1 month ago | |
| eliashaeussler/phpstan-config | 0.81 | 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 | 15K | 1 | 27.4 | 60.2 | GPL-3.0 | 4 months ago |
How can I help you explore Laravel packages today?