๐ PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Laravel, Symfony, Twig, Doctrine, PHPUnit etc. Can automatically remove dead PHP code. Able to detect dead code used only in tests. Finds unused methods, constants, properties and enum cases.
Topic Catalog
Top PHPSTAN-RULES GitHub Repositories & Tools (2026)
Discover the most starred and trending open source tools tagged with #phpstan-rules.
SPONSORED BY
3 matching projects ยท updated Sep 29, 2026
How we rank โ
โ +1 today
๐ Provides a composer package with rules for phpstan/phpstan.
โ +1 today
PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, keyword & superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.
โ +1 today
From our network