sebastian/phpdcd
PHP Dead Code Detector (phpdcd) is a command-line tool that scans PHP codebases for unused functions and methods, helping teams find dead code to remove. Part of Sebastian Bergmann's tooling, it is now archived and largely superseded by modern static analysis tools.
NOASSERTION license, and zero dependents make it unsuitable as a foundation for a product or production CI gate.Consider phpDCD only when:
NOASSERTION license for your intended use.Look elsewhere when:
For executives: We evaluated phpDCD as a low-cost way to reduce PHP maintenance burden by finding dead code. It validates demand for code-health tooling, but it is archived, has an unclear license, and has no dependent ecosystem. Recommendation: do not adopt it as a product dependency or production gate; use it only for limited internal audits or as a requirements reference, and invest in a maintained analyzer if the ROI is confirmed.
For engineering: phpDCD can be useful as a sandboxed CLI audit or a reference for dead-code detection requirements. Do not wire it into CI without a fork, license review, and ownership plan. Validate output manually, especially in Laravel codebases with dynamic dispatch and container resolution. If the capability matters, define requirements and select or build on a maintained static-analysis foundation.
For legal/security: The package is archived and declares NOASSERTION, so license rights are unclear. Treat it as unsuitable for commercial embedding or hosted product use until reviewed and cleared. Lack of maintenance also means no security patching or compatibility guarantees.
How can I help you explore Laravel packages today?