Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projects
β278Nov 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- π Provides a composer package with rules for phpstan/phpstan.β463Updated this week
- Swiss knife in pocket of every upgrade architect!β219Nov 8, 2026Updated last week
- PHPStan extension to require minimal type-coverageβ226Oct 9, 2026Updated last month
- 'ignore' error format, solid Symfony SplFileInfo and other useful extensions for PHPStanβ39Nov 12, 2025Updated last year
- [Deprecated] Use β insteadβ193Oct 6, 2026Updated last month
- GPUs on demand by Runpod - Special Offer Available β’ AdRun AI, ML, and HPC workloads on powerful cloud GPUsβwithout limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Extra strict and opinionated rules for PHPStanβ716Updated this week
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, keyword & superglobal usages, with powerful rβ¦β348Updated this week
- π Various extra strict PHPStan rules we found useful in ShipMonk.β157Nov 5, 2026Updated last week
- Detect banned code through PHPStanβ299Nov 2, 2026Updated 2 weeks ago
- π PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Laravel, Symfony, Twig, Doctrine, PHPUnit etcβ¦β540Updated this week
- PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.β465Updated this week
- PHPStan rules to measure cognitive complexity of your classes and methodsβ175Oct 6, 2026Updated last month
- Next level type declaration check PHPStan rulesβ105Jul 30, 2026Updated 3 months ago
- βοΈ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.β93Nov 3, 2026Updated 2 weeks ago
- Deploy on Railway without the complexity - Free Credits Offer β’ AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Find leaking classes that you never use... and get rid of them.β155Oct 29, 2026Updated 2 weeks ago
- TwigStan is a static analyzer for Twig templates powered by PHPStanβ293Nov 11, 2026Updated last week
- PHPStan based SQL static analysis and type inference for the database access layerβ298Updated this week
- π Fast detection of composer dependency issues (unused dependencies, shadow dependencies, misplaced dependencies)β637Nov 3, 2026Updated 2 weeks ago
- [deprecated] Get error count for each PHPStan levelβ132Sep 24, 2026Updated last month
- PHPUnit extensions and rules for PHPStanβ548Updated this week
- Rector upgrade rules for PHPUnitβ117Updated this week
- [Deprecated] Use ECS that includes this set with more new rulesβ377Jul 12, 2026Updated 4 months ago
- 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
- End-to-end encrypted email - Proton Mail β’ AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Composer plugin for automatic installation of PHPStan extensions.β519Updated this week
- Extensions for PHPStanβ71Updated this week
- Show unused composer dependencies by scanning your codeβ1,694Nov 2, 2026Updated 2 weeks ago
- ECS runs PHP-CS-Fixer and PHP_CodeSniffer as a single, parallel fast tool with zero dependencies. Run on PHP 7.2+β1,630Updated this week
- Put your architectural rules under test!β951Nov 10, 2026Updated last week
- βοΈ PHP Architecture Tester - Easy architecture testing for PHPβ1,292Nov 2, 2026Updated 2 weeks ago
- A modular set of features to reduce configuration boilerplate for your Symfony commands.β80Nov 11, 2026Updated last week
- π΅ Provides a composer plugin for normalizing composer.json.β1,127Updated this week
- A minimalistic error formatter for PHPStanβ86Sep 2, 2026Updated 2 months ago
- Deploy on Railway without the complexity - Free Credits Offer β’ AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- [deprecated] Rule moved to see ββ13Jun 7, 2026Updated 5 months ago
- Convert Symfony YAML configs to PHP formatβ265Oct 6, 2026Updated last month
- [Depreated] and moved to ββ107Oct 1, 2026Updated last month
- Todo comments with expirationβ208Updated 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 β¦β61Nov 3, 2026Updated 2 weeks ago
- Analyzes PHPStan baseline files and creates aggregated error trend-reportsβ84Nov 2, 2026Updated 2 weeks ago
- Development repository for Rector. Check https://github.com/rectorphp/rector for the distribution repository.β141Updated this week
Are these results useful?