dead-code-detector
β Recently maintainedπ 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.
535Stars
34Forks
+37-day stars
PHP Β· MIT Β· Last push 2026-11-02
Official repository & installation βGitValue Β· Value evidence
Unscored Β· Evidence coverage 0%
Provisional rubric; documentation and runtime testing are separate. Missing evidence does not imply low value.
Star history
2025-09-292026-11-02
View historical data
| Date | Stars |
|---|---|
| 2026-10-04 | 522 |
| 2026-10-05 | 522 |
| 2026-10-06 | 522 |
| 2026-10-07 | 524 |
| 2026-10-08 | 526 |
| 2026-10-09 | 526 |
| 2026-10-10 | 526 |
| 2026-10-11 | 526 |
| 2026-10-12 | 528 |
| 2026-10-13 | 528 |
| 2026-10-14 | 529 |
| 2026-10-15 | 529 |
| 2026-10-16 | 530 |
| 2026-10-17 | 530 |
| 2026-10-18 | 530 |
| 2026-10-19 | 530 |
| 2026-10-20 | 530 |
| 2026-10-21 | 530 |
| 2026-10-22 | 531 |
| 2026-10-23 | 531 |
| 2026-10-24 | 531 |
| 2026-10-25 | 531 |
| 2026-10-26 | 532 |
| 2026-10-27 | 534 |
| 2026-10-28 | 534 |
| 2026-10-29 | 534 |
| 2026-10-30 | 534 |
| 2026-10-31 | 534 |
| 2026-11-01 | 534 |
| 2026-11-02 | 535 |
Get the project
git clone https://github.com/shipmonk-rnd/dead-code-detector.git
Related projects & alternative candidates
Related domains do not imply feature parity. Review official documentation and licenses.