I love git bisect and I wanted PHPStan to have its own bisect. So I made it.
If PHPStan reports a bug in your code but you know it's wrong and that it used to work before you upgraded, you can use bisect to pinpoint the exact commit where the behaviour changed. Available now!
📢 After 4 years of development, Dead Code Detector is stable
● Newly features: Laravel!
● Can find dead methods, props, consts and enums
● Supports Symfony, Twig, Doctrine, PHPUnit
● Understands transitivity (even hooks)
● Can remove dead code
Install as any @PHPStan ext
We are delighted to welcome @OndrejMirtes 🇨🇿 to Laravel Live Denmark 2026. Ondřej is the creator of @phpstan, one of the most impactful tools in the PHP ecosystem, helping developers worldwide ship more reliable code.
Using PHPStan to Extract Data About Your Codebase: In this article, I’m going to show you how to use PHPStan as a data extraction tool — to query your codebase and produce machine-readable output you can use for documentation, visualization, or any other purpose.