Adsar Logo


PHP Dead Code Detector



The PHP Dead Code Detector is a nice bit of software that helps you identify functions and methods that are not used within a project.

To install, use the following instructions:

wget https://phar.phpunit.de/phpdcd.phar
chmod +x phpdcd.phar
mv phpdcd.phar /usr/local/bin/phpdcd
cd /webdir
phpdcd ./


Trees for life


Want to get in touch? mail@adsar.co.uk