php-dry – Clone Detection for PHP
php-dry detects duplicated behaviour in your application, even if the duplicated passages are implemented completely different to each other. Likely you should read a bit about the theoretical background for a better understanding.
Run via Docker (recommended)
docker run -v {path_to_project}:/project leovie/php-dry -h
Run via binary
Install via composer
composer require --dev leovie/php-dry
After installation, you can run php-dry via
vendor/bin/php-dry {path_to_project} -h
Documentation
see here
Thanks
Special thank you belongs to queo GmbH for sponsoring the development and maintenance of php-dry.