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,204 | 2,253 | 189 | 586K | 0 | 8.3 | 23.7 | BSD-3-Clause | — | |
| graham-campbell/analyzer | 0.82 | Analyzer is a PHP package by Graham Campbell that checks whether referenced classes actually exist. It helps catch missing or mistyped class references, supports PHP 8.1-8.5, and integrates with PHPUnit 10-13 for test-time analysis. | 0 | 32 | — | 8K | — | 9.3 | 53.7 | — | — | |
| phpmd/phpmd | 0.82 | 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 | |
| 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 | 30 | 0 | 0.1 | 20.6 | MIT | — | |
| phpat/phpat | 0.82 | PHP Architecture Tester (PHPat) is a PHPStan extension that lets you define architectural rules in natural language and verify your code complies with them. Enforce layer dependencies, naming, and inheritance rules; catch violations during static analysis. Install via Composer. | 1,290 | 1,273 | 61 | 632K | 11 | 38.2 | 47.1 | MIT | 1 month 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 | 1K | 0 | 0.0 | 43.1 | 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 | 1K | 0 | 25.1 | 40.4 | MIT | 4 months 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 | 5 months ago | |
| arty/php-coding-standard | 0.82 | — | 2 | 3 | 0 | 10 | 0 | 10.0 | 10.6 | MIT | 10 months ago | |
| whatwedo/php-coding-standard | 0.81 | — | 2 | 2 | 1 | 917 | 9 | 3.0 | 37.0 | 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+. | 144 | 144 | 17 | 1M | 19 | 31.9 | 69.0 | NOASSERTION | 3 months ago | |
| spryker/code-sniffer | 0.81 | 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 | |
| slevomat/coding-standard | 0.81 | — | 1,478 | 1,490 | 196 | 4M | 90 | 63.5 | 82.3 | MIT | 1 week ago | |
| handcraftedinthealps/code-coverage-checker | 0.81 | A small CLI tool for PHPUnit that reads a --coverage-php report and fails when line, class, or method coverage falls below a threshold you set. Limit checks to specific directories if needed, making it easy to gate CI builds on real coverage numbers. | 6 | 6 | 4 | 3K | 0 | 17.6 | 40.3 | MIT | 3 months 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 | 10 | 0 | 0.0 | 6.2 | BSD-3-Clause | — | |
| sweetchuck/robo-phpmd | 0.76 | — | 0 | 0 | 1 | 66 | 1 | 1.8 | 25.6 | — | 6 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. | 43 | 44 | 7 | 237 | 4 | 11.9 | 13.3 | MIT | 6 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,149 | 5,952 | 17 | 330K | 0 | 27.3 | 24.0 | MIT | 8 years ago |
How can I help you explore Laravel packages today?