👓 Provides a composer package with rules for phpstan/phpstan.
☆439Updated 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:
- Extra strict and opinionated rules for PHPStan☆685Updated this week
- PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.☆446Updated this week
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projects☆260Feb 6, 2026Updated 3 weeks ago
- Detect banned code through PHPStan☆287Feb 17, 2026Updated last week
- Extensions for PHPStan☆70Updated this week
- Composer plugin for automatic installation of PHPStan extensions.☆492Updated this week
- PHPStan extension to require minimal type-coverage☆205Jan 7, 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☆987Updated this week
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to r…☆325Updated this week
- 🎵 Provides a composer plugin for normalizing composer.json.☆1,104Updated this week
- Show unused composer dependencies by scanning your code☆1,656Updated this week
- PHPUnit extensions and rules for PHPStan☆527Updated this week
- Find Unused Public Elements in Your Code☆193Jan 7, 2026Updated last month
- A set of additional rules for PHPStan based on best practices followed at TheCodingMachine☆289Dec 1, 2021Updated 4 years ago
- ✔️ PHP Architecture Tester - Easy architecture testing for PHP☆1,237Updated this week
- PHPStan based SQL static analysis and type inference for the database access layer☆289Nov 20, 2025Updated 3 months ago
- PHPStan rules for checked & unchecked exceptions☆109Nov 12, 2021Updated 4 years ago
- Swiss knife in pocket of every upgrade architect!☆198Jan 9, 2026Updated last month
- Tool to compare two revisions of a class API to check for BC breaks☆595Updated this week
- PHP Mutation Testing library☆2,175Updated this week
- Rector upgrade rules for PHPUnit☆113Feb 11, 2026Updated 2 weeks ago
- 💀 PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Symfony, Twig, Doctrine, PHPUnit etc. Can aut…☆324Updated this week
- Coding Standard rules for PHP projects with focus on Clean Architecture☆377Oct 30, 2025Updated 4 months ago
- 'ignore' error format, solid Symfony SplFileInfo and other useful extensions for PHPStan☆39Nov 12, 2025Updated 3 months ago
- 📏 Various extra strict PHPStan rules we found useful in ShipMonk.☆148Feb 19, 2026Updated last week
- A set of custom fixers for PHP CS Fixer☆238Jan 31, 2026Updated last month
- + Provides a GitHub repository template for a composer package with GitHub Actions workflows using standard PHP development tools.☆309Updated this week
- Better Reflection is a reflection API that aims to improve and provide more features than PHP's built-in reflection API.☆1,232Feb 18, 2026Updated last week
- ✂️ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.☆90Jan 28, 2026Updated last month
- PHPStan extension for webmozart/assert☆183Updated this week
- PHPStan rules to measure cognitive complexity of your classes and methods☆146Dec 26, 2024Updated last year
- ⏱️ Provides a composer package with an extension for detecting slow tests in phpunit/phpunit.☆144Updated this week
- TwigStan is a static analyzer for Twig templates powered by PHPStan☆271Nov 11, 2025Updated 3 months ago
- PHPUnit Plugin for detecting Memory Leaks in code and tests☆500Feb 8, 2026Updated 3 weeks ago
- Put your architectural rules under test!☆867Updated this week
- 🚀 Fast detection of composer dependency issues (unused dependencies, shadow dependencies, misplaced dependencies)☆593Jan 28, 2026Updated last month
- All PHP functions, rewritten to throw exceptions instead of returning false☆2,481Feb 16, 2026Updated last week
- Slevomat Coding Standard for PHP_CodeSniffer provides many useful sniffs☆1,473Updated this week
- Next level type declaration check PHPStan rules☆100Jan 12, 2026Updated last month