1.phpstan / phpstan
PHP Static Analysis Tool - discover bugs in your code without running it!
+5 stars
from 14,141 · score 1.79
Ranked by Attention Score: stars gained over the last 7 complete days
3 repositories by Attention Score · Oct 27, 2026 – Nov 2, 2026 (UTC)
PHP Static Analysis Tool - discover bugs in your code without running it!
💀 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.
Next-gen phpDoc parser with support for intersection types and generics