๐ Various extra strict PHPStan rules we found useful in ShipMonk.
โ156Oct 1, 2026Updated 3 weeks ago
Alternatives and similar repositories for phpstan-rules
Users that are interested in phpstan-rules are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ๐งช Enforce PHP code coverage in your CI. Not by percentage, but target core methods! Allows you to start enforcing coverage for new code โฆโ60Updated this week
- Provides additional rules for phpstanโ33Oct 8, 2026Updated 3 weeks ago
- Custom SQL walker for Doctrine allowing usage of MySQL index hints without need of native queriesโ22Updated this week
- Two phase migrations for Doctrine ORM: before and after deploying new codebase version. Suitable for rolling-update deployments (e.g. in โฆโ25Oct 15, 2026Updated 2 weeks ago
- โ๏ธ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.โ93Sep 29, 2026Updated last month
- Deploy to Railway using AI coding agents - Free Credits Offer โข AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, keyword & superglobal usages, with powerful rโฆโ346Oct 15, 2026Updated 2 weeks ago
- [Deprecated] Use โ insteadโ194Oct 6, 2026Updated 3 weeks ago
- ๐ PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Laravel, Symfony, Twig, Doctrine, PHPUnit etcโฆโ534Updated this week
- PHPStan extension to require minimal type-coverageโ226Oct 9, 2026Updated 3 weeks ago
- Extra strict and opinionated rules for PHPStanโ713Updated this week
- Inline your PHPStan error ignores into the source files via @phpstan-ignore comments.โ15Updated this week
- ๐ Provides a composer package with rules for phpstan/phpstan.โ460Oct 21, 2026Updated last week
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projectsโ276Oct 23, 2026Updated last week
- Performant array-to-object mapper supporting generics, array shapes, optional fields and much more!โ30Oct 14, 2026Updated 2 weeks ago
- Deploy to Railway using AI coding agents - Free Credits Offer โข AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- [deprecated] Rule moved to see โโ13Jun 7, 2026Updated 4 months ago
- zero dependency spec-compliant passkey library for phpโ21Updated this week
- ๐ Fast detection of composer dependency issues (unused dependencies, shadow dependencies, misplaced dependencies)โ635Aug 11, 2026Updated 2 months ago
- Detect banned code through PHPStanโ299May 29, 2026Updated 5 months ago
- PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.โ463Updated this week
- PHPStan rules for checked & unchecked exceptionsโ109Nov 12, 2021Updated 4 years ago
- [deprecated] Get error count for each PHPStan levelโ133Sep 24, 2026Updated last month
- Swiss knife in pocket of every upgrade architect!โ217Oct 17, 2026Updated last week
- Fast & simple tool to find class duplicates in your projects.โ35Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer โข AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Analyzes PHPStan baseline files and creates aggregated error trend-reportsโ84Jun 22, 2026Updated 4 months ago
- Next level type declaration check PHPStan rulesโ105Jul 30, 2026Updated 3 months ago
- Todo comments with expirationโ207Oct 13, 2026Updated 2 weeks ago
- FIG PSR3 PHPStan rulesโ23Oct 2, 2026Updated 3 weeks ago
- PHPStan based SQL static analysis and type inference for the database access layerโ298Oct 19, 2026Updated last week
- [Deprecated] Use ECS that includes this set with more new rulesโ377Jul 12, 2026Updated 3 months ago
- Find leaking classes that you never use... and get rid of them.โ156Oct 11, 2026Updated 2 weeks ago
- A minimalistic error formatter for PHPStanโ87Sep 2, 2026Updated last month
- TwigStan is a static analyzer for Twig templates powered by PHPStanโ283Nov 11, 2025Updated 11 months ago
- Wordpress hosting with auto-scaling - Free Trial Offer โข AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- A set of custom fixers for PHP CS Fixerโ243Oct 23, 2026Updated last week
- PHPUnit extensions and rules for PHPStanโ546Oct 13, 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โฆโ106Updated this week
- Attributes used for static analysisโ94Jun 6, 2025Updated last year
- A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependenciesโ1,011Updated this week
- PHPStan rules to measure cognitive complexity of your classes and methodsโ173Oct 6, 2026Updated 3 weeks ago
- Slevomat Coding Standard for PHP_CodeSniffer provides many useful sniffsโ1,478Updated this week