Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projects
☆260Feb 6, 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
Sorting:
- 👓 Provides a composer package with rules for phpstan/phpstan.☆439Updated this week
- Swiss knife in pocket of every upgrade architect!☆198Jan 9, 2026Updated last month
- PHPStan extension to require minimal type-coverage☆205Jan 7, 2026Updated last month
- Find Unused Public Elements in Your Code☆193Jan 7, 2026Updated last month
- 📏 Various extra strict PHPStan rules we found useful in ShipMonk.☆148Feb 19, 2026Updated last week
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to r…☆324Feb 12, 2026Updated 2 weeks ago
- 'ignore' error format, solid Symfony SplFileInfo and other useful extensions for PHPStan☆39Nov 12, 2025Updated 3 months ago
- Find leaking classes that you never use... and get rid of them.☆135Nov 21, 2025Updated 3 months ago
- Next level type declaration check PHPStan rules☆99Jan 12, 2026Updated last month
- PHPStan rules to measure cognitive complexity of your classes and methods☆146Dec 26, 2024Updated last year
- Extra strict and opinionated rules for PHPStan☆685Feb 19, 2026Updated last week
- Rector upgrade rules for PHPUnit☆113Feb 11, 2026Updated 2 weeks ago
- ✂️ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.☆90Jan 28, 2026Updated 3 weeks ago
- TwigStan is a static analyzer for Twig templates powered by PHPStan☆268Nov 11, 2025Updated 3 months ago
- Detect banned code through PHPStan☆287Feb 17, 2026Updated last week
- PHPStan based SQL static analysis and type inference for the database access layer☆289Nov 20, 2025Updated 3 months ago
- PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.☆446Feb 19, 2026Updated last week
- 💀 PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Symfony, Twig, Doctrine, PHPUnit etc. Can aut…☆323Feb 19, 2026Updated last week
- Get error count for each PHPStan level☆134Feb 13, 2025Updated last year
- PHPUnit extensions and rules for PHPStan☆527Updated this week
- Composer plugin for automatic installation of PHPStan extensions.☆492Updated this week
- [DEPRECATED] Save your typing the repeated Rector rule code and focus on writing refactor() method only☆10Jun 23, 2024Updated last year
- Coding Standard rules for PHP projects with focus on Clean Architecture☆377Oct 30, 2025Updated 3 months ago
- Put your architectural rules under test!☆867Updated this week
- Extensions for PHPStan☆70Updated this week
- The Easiest way to add coding standard to your PHP project☆1,596Jan 12, 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☆985Feb 19, 2026Updated last week
- Show unused composer dependencies by scanning your code☆1,655Feb 16, 2026Updated last week
- Todo comments with expiration☆198Feb 16, 2026Updated last week
- Analyzes PHPStan baseline files and creates aggregated error trend-reports☆83Jan 12, 2026Updated last month
- 🚀 Fast detection of composer dependency issues (unused dependencies, shadow dependencies, misplaced dependencies)☆591Jan 28, 2026Updated 3 weeks ago
- Fast & simple tool to find class duplicates in your projects.☆34Feb 11, 2026Updated 2 weeks ago
- Provides additional rules for phpstan☆31Feb 6, 2026Updated 3 weeks ago
- A modular set of features to reduce configuration boilerplate for your Symfony commands.☆80Feb 16, 2026Updated last week
- Rector upgrade rules for Doctrine☆79Jan 22, 2026Updated last month
- ✔️ PHP Architecture Tester - Easy architecture testing for PHP☆1,235Feb 20, 2026Updated last week
- Convert Symfony YAML configs to PHP format☆260Oct 1, 2025Updated 4 months ago
- A set of custom fixers for PHP CS Fixer☆237Jan 31, 2026Updated 3 weeks ago
- [DEPRECATED] Use https://symfony.com/blog/new-in-symfony-5-3-config-builder-classes instead☆15May 21, 2022Updated 3 years ago