๐ Various extra strict PHPStan rules we found useful in ShipMonk.
โ148Feb 19, 2026Updated last week
Alternatives and similar repositories for phpstan-rules
Users that are interested in phpstan-rules are comparing it to the libraries listed below
Sorting:
- โ๏ธ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.โ90Jan 28, 2026Updated last month
- Find Unused Public Elements in Your Codeโ193Jan 7, 2026Updated last month
- ๐ PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Symfony, Twig, Doctrine, PHPUnit etc. Can autโฆโ324Updated this week
- PHPStan extension to require minimal type-coverageโ205Jan 7, 2026Updated last month
- Provides additional rules for phpstanโ31Feb 6, 2026Updated 3 weeks ago
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to rโฆโ325Updated this week
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projectsโ260Feb 6, 2026Updated 3 weeks ago
- Custom SQL walker for Doctrine allowing usage of MySQL index hints without need of native queriesโ22Jan 28, 2026Updated last month
- Performant array-to-object mapper supporting generics, array shapes, optional fields and much more!โ30Feb 1, 2026Updated last month
- Two phase migrations for Doctrine ORM: before and after deploying new codebase version. Suitable for rolling-update deployments (e.g. in โฆโ24Feb 17, 2026Updated last week
- Extra strict and opinionated rules for PHPStanโ685Updated this week
- FIG PSR3 PHPStan rulesโ23Feb 2, 2026Updated last month
- Todo comments with expirationโ198Feb 16, 2026Updated last week
- Next level type declaration check PHPStan rulesโ100Jan 12, 2026Updated last month
- Swiss knife in pocket of every upgrade architect!โ198Jan 9, 2026Updated last month
- ๐ Fast detection of composer dependency issues (unused dependencies, shadow dependencies, misplaced dependencies)โ593Jan 28, 2026Updated last month
- Analyzes PHPStan baseline files and creates aggregated error trend-reportsโ83Jan 12, 2026Updated last month
- Get error count for each PHPStan levelโ134Feb 13, 2025Updated last year
- ๐ Provides a composer package with rules for phpstan/phpstan.โ439Feb 23, 2026Updated last week
- PHPStan rules for checked & unchecked exceptionsโ109Nov 12, 2021Updated 4 years ago
- Find leaking classes that you never use... and get rid of them.โ135Nov 21, 2025Updated 3 months ago
- Detect banned code through PHPStanโ287Feb 17, 2026Updated last week
- PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.โ446Updated this week
- A minimalistic error formatter for PHPStanโ87Feb 18, 2026Updated last week
- PHPStan rules to measure cognitive complexity of your classes and methodsโ146Dec 26, 2024Updated last year
- Fast & simple tool to find class duplicates in your projects.โ34Feb 11, 2026Updated 2 weeks ago
- Coding Standard rules for PHP projects with focus on Clean Architectureโ377Oct 30, 2025Updated 4 months ago
- A set of custom fixers for PHP CS Fixerโ238Jan 31, 2026Updated last month
- PHPStan based SQL static analysis and type inference for the database access layerโ289Nov 20, 2025Updated 3 months ago
- PHPStan extension for sealed classes and interfaces.โ35Sep 27, 2025Updated 5 months ago
- TwigStan is a static analyzer for Twig templates powered by PHPStanโ271Nov 11, 2025Updated 3 months ago
- Integrates Tracy into Monolog, supports uploading Tracy bluescreens to AWS S3โ20Aug 5, 2024Updated last year
- Enables type-safe comparisons of objects in PHPUnit.โ31Feb 9, 2026Updated 3 weeks ago
- ๐ก Doctrine entity preloading: Efficient & easy to use solution to n+1 problem in Doctrine ORM. Supports all association types and both Dโฆโ99Dec 15, 2025Updated 2 months ago
- Attributes used for static analysisโ94Jun 6, 2025Updated 8 months ago
- 'ignore' error format, solid Symfony SplFileInfo and other useful extensions for PHPStanโ39Nov 12, 2025Updated 3 months ago
- ๐งช Enforce PHP code coverage in your CI. Not by percentage, but target core methods! Allows you to start enforcing coverage for new code โฆโ52Jan 2, 2026Updated last month
- A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependenciesโ987Updated this week
- [DEPRECATED] Save your typing the repeated Rector rule code and focus on writing refactor() method onlyโ10Jun 23, 2024Updated last year