Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projects
☆262Feb 6, 2026Updated last month
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.☆441Updated this week
- PHPStan extension to require minimal type-coverage☆205Jan 7, 2026Updated 2 months ago
- Swiss knife in pocket of every upgrade architect!☆200Updated this week
- Find Unused Public Elements in Your Code☆192Jan 7, 2026Updated 2 months ago
- Next level type declaration check PHPStan rules☆101Mar 10, 2026Updated last week
- 'ignore' error format, solid Symfony SplFileInfo and other useful extensions for PHPStan☆39Nov 12, 2025Updated 4 months ago
- Find leaking classes that you never use... and get rid of them.☆135Nov 21, 2025Updated 3 months ago
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to r…☆331Updated this week
- 📏 Various extra strict PHPStan rules we found useful in ShipMonk.☆148Updated this week
- PHPStan rules to measure cognitive complexity of your classes and methods☆147Dec 26, 2024Updated last year
- Extra strict and opinionated rules for PHPStan☆687Updated this week
- TwigStan is a static analyzer for Twig templates powered by PHPStan☆273Nov 11, 2025Updated 4 months 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…☆339Updated this week
- Rector upgrade rules for PHPUnit☆113Mar 12, 2026Updated last week
- Get error count for each PHPStan level☆134Feb 13, 2025Updated last year
- PHPStan based SQL static analysis and type inference for the database access layer☆291Nov 20, 2025Updated 3 months ago
- Detect banned code through PHPStan☆291Updated this week
- PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.☆447Updated this week
- PHPUnit extensions and rules for PHPStan☆527Updated this week
- [DEPRECATED] Save your typing the repeated Rector rule code and focus on writing refactor() method only☆10Jun 23, 2024Updated last year
- A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies☆988Mar 13, 2026Updated last week
- Composer plugin for automatic installation of PHPStan extensions.☆498Updated this week
- Put your architectural rules under test!☆880Updated this week
- A modular set of features to reduce configuration boilerplate for your Symfony commands.☆80Feb 16, 2026Updated last month
- Coding Standard rules for PHP projects with focus on Clean Architecture☆378Oct 30, 2025Updated 4 months ago
- Show unused composer dependencies by scanning your code☆1,673Mar 9, 2026Updated last week
- 🚀 Fast detection of composer dependency issues (unused dependencies, shadow dependencies, misplaced dependencies)☆603Jan 28, 2026Updated last month
- Extensions for PHPStan☆70Updated this week
- The Easiest way to add coding standard to your PHP project☆1,599Jan 12, 2026Updated 2 months ago
- Fast & simple tool to find class duplicates in your projects.☆34Feb 11, 2026Updated last month
- Analyzes PHPStan baseline files and creates aggregated error trend-reports☆83Jan 12, 2026Updated 2 months ago
- Todo comments with expiration☆198Feb 16, 2026Updated last month
- Composer Plugin for simpler registration of Rector extension configs☆16Jan 4, 2023Updated 3 years ago
- Convert Symfony YAML configs to PHP format☆261Oct 1, 2025Updated 5 months ago
- A minimalistic error formatter for PHPStan☆87Mar 9, 2026Updated last week
- [DEPRECATED] Documentation generator for coding standard or static analysis rules"☆31Aug 8, 2024Updated last year
- Provides additional rules for phpstan☆31Updated this week
- A tool to automatically fix Twig Coding Standards issues☆331Feb 23, 2026Updated 3 weeks ago