๐ Various extra strict PHPStan rules we found useful in ShipMonk.
โ148Mar 16, 2026Updated this week
Alternatives and similar repositories for phpstan-rules
Users that are interested in phpstan-rules are comparing it to the libraries listed below
Sorting:
- Custom SQL walker for Doctrine allowing usage of MySQL index hints without need of native queriesโ22Jan 28, 2026Updated last month
- Two phase migrations for Doctrine ORM: before and after deploying new codebase version. Suitable for rolling-update deployments (e.g. in โฆโ24Mar 6, 2026Updated 2 weeks ago
- โ๏ธ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.โ91Jan 28, 2026Updated last month
- ๐ PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Symfony, Twig, Doctrine, PHPUnit etc. Can autโฆโ341Updated this week
- Find Unused Public Elements in Your Codeโ192Jan 7, 2026Updated 2 months ago
- Performant array-to-object mapper supporting generics, array shapes, optional fields and much more!โ30Mar 6, 2026Updated 2 weeks ago
- PHPStan extension to require minimal type-coverageโ205Jan 7, 2026Updated 2 months ago
- Provides additional rules for phpstanโ31Mar 15, 2026Updated last week
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to rโฆโ331Updated this week
- FIG PSR3 PHPStan rulesโ23Feb 2, 2026Updated last month
- Extra strict and opinionated rules for PHPStanโ690Updated this week
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projectsโ262Feb 6, 2026Updated last month
- Todo comments with expirationโ198Feb 16, 2026Updated last month
- ๐ Fast detection of composer dependency issues (unused dependencies, shadow dependencies, misplaced dependencies)โ603Jan 28, 2026Updated last month
- PHPStan rules for checked & unchecked exceptionsโ109Nov 12, 2021Updated 4 years ago
- Analyzes PHPStan baseline files and creates aggregated error trend-reportsโ83Updated this week
- Next level type declaration check PHPStan rulesโ102Mar 10, 2026Updated last week
- Get error count for each PHPStan levelโ134Feb 13, 2025Updated last year
- Swiss knife in pocket of every upgrade architect!โ200Updated this week
- ๐งช Enforce PHP code coverage in your CI. Not by percentage, but target core methods! Allows you to start enforcing coverage for new code โฆโ53Jan 2, 2026Updated 2 months ago
- Fast & simple tool to find class duplicates in your projects.โ34Feb 11, 2026Updated last month
- ๐ Provides a composer package with rules for phpstan/phpstan.โ441Updated this week
- PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.โ447Updated this week
- Find leaking classes that you never use... and get rid of them.โ135Nov 21, 2025Updated 4 months ago
- A minimalistic error formatter for PHPStanโ87Mar 9, 2026Updated last week
- Detect banned code through PHPStanโ291Mar 13, 2026Updated last week
- Integrates Tracy into Monolog, supports uploading Tracy bluescreens to AWS S3โ20Aug 5, 2024Updated last year
- PHPStan extension for sealed classes and interfaces.โ35Sep 27, 2025Updated 5 months ago
- PHPStan based SQL static analysis and type inference for the database access layerโ292Nov 20, 2025Updated 4 months ago
- Coding Standard rules for PHP projects with focus on Clean Architectureโ378Oct 30, 2025Updated 4 months ago
- A set of custom fixers for PHP CS Fixerโ238Mar 7, 2026Updated 2 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 3 months ago
- TwigStan is a static analyzer for Twig templates powered by PHPStanโ273Nov 11, 2025Updated 4 months ago
- A library for semantic analysis of PHP codeโ21Apr 29, 2022Updated 3 years ago
- A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependenciesโ990Updated this week
- PHPStan rules to measure cognitive complexity of your classes and methodsโ147Dec 26, 2024Updated last year
- A modular set of features to reduce configuration boilerplate for your Symfony commands.โ80Feb 16, 2026Updated last month
- Enables type-safe comparisons of objects in PHPUnit.โ31Updated this week
- Attributes used for static analysisโ94Jun 6, 2025Updated 9 months ago