johnatas-x/phpcpd
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sebastian/phpcpd | 0.85 | 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,211 | 2,253 | 189 | 351K | 0 | 8.4 | 21.5 | BSD-3-Clause | — | |
| graham-campbell/analyzer | 0.82 | Analyzer is a PHP tool by Graham Campbell that scans your code/tests to verify referenced classes actually exist, catching typos and broken imports early. Requires PHP 8.1–8.5 and supports PHPUnit 10–13 (v5.1). | 31 | 32 | 5 | 6K | 0 | 22.8 | 35.0 | MIT | 4 months ago | |
| phpmd/phpmd | 0.82 | PHPMD (PHP Mess Detector) scans PHP code for potential problems like overly complex methods, unused parameters, and suspicious code. It’s a CLI tool with configurable rulesets, Baseline support, and CI-friendly output formats to keep codebases clean. | 2,442 | 2,503 | 355 | 2M | 61 | 45.0 | 58.9 | BSD-3-Clause | 2 years ago | |
| phpcq/repository-definition | 0.82 | Repository definition package for the PHPCQ (PHP Code Quality) project, used to automate and configure code quality checks in CI pipelines. Part of the phpcq.org ecosystem built around tools like PHP_CodeSniffer and PHPMD. | 0 | 0 | 0 | 44 | 0 | 0.0 | 22.8 | MIT | — | |
| phpat/phpat | 0.82 | PHPat is a PHPStan extension for architecture testing. Define readable architectural rules and automatically verify boundaries, dependencies, layers, and conventions in your PHP codebase during static analysis. Easy to install via Composer and PHPStan config. | 1,273 | 1,264 | 62 | 545K | 12 | 33.5 | 45.7 | MIT | 4 months ago | |
| onramplab/onr-phpcs-laravel | 0.82 | Opinionated PHP_CodeSniffer ruleset for Laravel projects. Provides a ready-to-use PHPCS configuration with Laravel-focused coding standards to help keep code style consistent across your app and team. | 0 | 0 | 0 | 927 | 0 | 0.0 | 41.0 | Unlicense | — | |
| bernardosecades/php-quality-tools | 0.82 | 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 | — | |
| pccomponentes/coding-standard | 0.82 | PcComponentes Coding Standard adds PHP_CodeSniffer sniffs to enforce consistent PHP style. Install via Composer as a dev dependency and reference vendor/pccomponentes/coding-standard/src/ruleset.xml in your phpcs.xml(.dist) to apply the rules. | 3 | 3 | 3 | 2K | 0 | 26.3 | 43.7 | MIT | 1 month ago | |
| m6web/php-cs-fixer-config | 0.82 | Reusable PHP CS Fixer configuration from M6Web/Bedrock Streaming. Install via Composer and use the provided BedrockStreaming config in .php-cs-fixer.dist.php, with options to extend/override rules for your project or CI. | 7 | 8 | 7 | 1K | 0 | 24.8 | 34.9 | MIT | 2 months ago | |
| arty/php-coding-standard | 0.82 | — | 2 | 3 | 0 | 8 | 0 | 11.2 | 9.6 | MIT | 7 months ago | |
| whatwedo/php-coding-standard | 0.81 | — | 2 | 2 | 1 | 917 | 9 | 3.4 | 38.5 | MIT | 3 years ago | |
| sirbrillig/phpcs-variable-analysis | 0.81 | PHPCS plugin that analyzes variable usage: warns on undefined variables (including in unset), unused variables, and use of $this/self/static outside class scope. Works with PHPCS 3.13.5+ and PHP 5.4+. | 145 | 145 | 17 | 1M | 19 | 36.9 | 71.1 | NOASSERTION | 5 days ago | |
| spryker/code-sniffer | 0.81 | Spryker Code Sniffer is a PHP_CodeSniffer ruleset for Spryker projects. Enforces Spryker coding standards and best practices, supports automated code style checks in CI, and helps keep code consistent across teams and modules. | 38 | 38 | 12 | 45K | 5 | 30.7 | 52.5 | MIT | 1 month ago | |
| slevomat/coding-standard | 0.81 | — | 1,479 | 1,490 | 192 | 4M | 92 | 63.6 | 81.4 | MIT | 6 days ago | |
| handcraftedinthealps/code-coverage-checker | 0.81 | CLI tool to enforce PHPUnit code coverage thresholds. Generate a coverage.php report, then check line/class/method coverage against a minimum percentage, optionally limited to specific directories—ideal for CI to fail builds when coverage drops. | 6 | 6 | 4 | 2K | 0 | 23.7 | 39.8 | MIT | 3 weeks ago | |
| covex-nn/phpcb | 0.79 | PHP Code Beautifier (phpcb) for formatting and cleaning up PHP codebases. Helps apply consistent styling, improve readability, and standardize code output across projects and teams, suitable for use in local workflows or automation. | 2 | 2 | 2 | 6 | 0 | 0.0 | 4.7 | BSD-3-Clause | — | |
| sweetchuck/robo-phpmd | 0.76 | — | 0 | 0 | 1 | 262 | 1 | 1.6 | 33.4 | — | 5 years ago | |
| ircmaxell/php-c-parser | 0.67 | Parse C source files into an AST in PHP (PHP 8.4+), including preprocessing resolution. Use a Context to set #define values (ints, strings, identifiers) before parsing. Great for analysis tools, code inspection, and experimentation. | 44 | 44 | 7 | 86 | 4 | 17.0 | 8.5 | MIT | 3 months ago | |
| jakub-onderka/php-console-highlighter | 0.66 | Abandoned package for syntax-highlighting PHP code in the terminal using ANSI colors. Provides a Highlighter that outputs highlighted whole-file or snippet content for CLI display. Suggested alternative: php-parallel-lint/PHP-Console-Highlighter. | 6,165 | 5,952 | 17 | 275K | 0 | 27.3 | 22.9 | MIT | 7 years ago |
How can I help you explore Laravel packages today?