sbrindle/phpcpd
sbrindle/phpcpd is a PHP copy/paste detector that scans your codebase for duplicated code and reports clone clusters. Use it to spot refactoring opportunities, reduce maintenance overhead, and keep PHP projects DRY. Suitable for local checks and CI pipelines.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| systemsdk/phpcpd | 0.85 | Detects duplicated PHP code with phpcpd, wrapping the original tool in a Composer-installable package for Laravel and other PHP projects. Run copy-paste detection from the command line or integrate it into your build pipeline to catch repeated logic early. | 17 | — | 2 | — | 0 | 19.4 | — | BSD-3-Clause | 2 weeks ago | |
| sebastian/phpcpd | 0.84 | PHPCPD is a copy/paste detector for PHP that finds duplicated code (clones) across files and reports duplicate lines and locations. Distributed as a PHAR and installable via Phive. Note: this project is unmaintained and archived. | 2,204 | 2,253 | 189 | 586K | 0 | 8.3 | 23.7 | BSD-3-Clause | — | |
| johnatas-x/phpcpd | 0.83 | Laravel-friendly wrapper for PHP Copy/Paste Detector (PHPCPD) to spot duplicated code in your PHP projects. Run duplication checks from your tooling/CI and get actionable reports to reduce redundancy and improve maintainability. | 1 | 1 | 0 | 954 | 0 | 0.6 | 37.0 | BSD-3-Clause | 1 year ago | |
| sebastian/phpdcd | 0.81 | 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. | 408 | 405 | 45 | 4K | 0 | 1.7 | 9.8 | NOASSERTION | — | |
| phpcsstandards/php_codesniffer | 0.80 | PHP_CodeSniffer is a PHP library that tokenizes PHP, JavaScript, and CSS files to detect violations of a defined coding standard. It includes phpcs for detecting violations and phpcbf for automatically fixing them, ensuring consistent, clean code across your projects. | 1,567 | 1,564 | 119 | 18K | 174 | 46.7 | 45.6 | BSD-3-Clause | 3 months ago | |
| squizlabs/php_codesniffer | 0.80 | PHP_CodeSniffer tokenizes PHP files to detect coding standard violations and automatically fix them. It ships two scripts: phpcs for sniffing and phpcbf for auto-correction, keeping code clean and consistent across teams and CI. The official continuation of the Squizlabs package. | 1,567 | 1,739 | 119 | 7M | 174 | 56.6 | 81.9 | BSD-3-Clause | 3 months ago | |
| php-parallel-lint/php-var-dump-check | 0.79 | CI-friendly tool that scans your PHP code for leftover debugging statements like var_dump(), print_r(), die()/dd() and similar. Helps keep accidental dumps out of production by failing builds when debug output is found. | 22 | 22 | 11 | 43K | 5 | 2.7 | 47.3 | NOASSERTION | 6 years ago | |
| bernardosecades/php-quality-tools | 0.79 | Collection of PHP quality and static analysis tools bundled for easier setup and consistent code standards across projects, including linters, formatters, and test/coverage helpers to streamline CI and improve code health. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| php-collective/code-sniffer | 0.78 | A PHP_CodeSniffer ruleset that follows PSR-2 and PSR-12 with many extra fixers on top, plus a stricter PhpCollectiveStrict standard. Install via Composer, add it to phpcs.xml, and run phpcs/phpcbf or composer scripts to check and auto-fix code style. | 7 | 7 | 1 | 72K | 0 | 32.1 | 64.0 | MIT | 1 week ago | |
| phpmd/phpmd | 0.78 | PHPMD (PHP Mess Detector) is a static analysis tool that scans PHP code for possible bugs, code smells, unused code, excessive complexity, and naming issues. It offers configurable rulesets, CI integration, and helps teams improve maintainability across PHP projects. | 2,464 | 2,521 | 362 | 2M | 52 | 62.7 | 65.5 | BSD-3-Clause | 1 month ago | |
| spryker/code-sniffer | 0.78 | Spryker Code Sniffer is a PHPCS ruleset for PHP 8.3+ that follows PSR-2 and PSR-12 with extra Spryker convention sniffs. It ships Spryker, SprykerStrict, and opt-in SprykerConventions standards, and works via phpcs/phpcbf. | 37 | 38 | 12 | 59K | 5 | 29.0 | 52.8 | MIT | 2 months ago | |
| iodigital-com/php-code-sniffer-standard | 0.78 | Extends PHP_CodeSniffer with iO Digital coding standards. Install via Composer, add an IO ruleset to your phpcs.xml, configure excluded paths and PHP version ranges, and run vendor/bin/phpcs. Includes guidance for properly ignoring sniff violations. | 1 | 1 | 3 | 600 | 1 | 11.7 | 37.0 | MIT | 9 months ago |
How can I help you explore Laravel packages today?