💀 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
Phpstan Rules GitHub Repositories (2026) · Open Source Tools
Discover the best Phpstan Rules open source repositories on GitHub. Explore trending tools, live star counts, source code, and developer projects updated daily.
SPONSORED BY
4 matching projects · updated Nov 21, 2026
How we rank ↗
↑ +1 today
👓 Provides a composer package with rules for phpstan/phpstan.
↑ +1 today
📏 Various extra strict PHPStan rules we found useful in ShipMonk.
↑ +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