bmitch/churn-php
churn-php helps you spot PHP files that are likely refactoring candidates by analyzing Git commit churn and cyclomatic complexity, then ranking files with a combined score and presenting the results in an easy-to-read table.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpmetrics/phpmetrics | 0.88 | PhpMetrics is a static analysis tool for PHP that computes metrics for projects and classes and generates beautiful, readable HTML reports. Install it via Composer, run the binary against any folder, and explore complexity, maintainability, and quality insights right in your browser. | 2,617 | 2,620 | 261 | 444K | 2 | 46.4 | 35.8 | MIT | 2 months ago | |
| amoifr/phpquality-bundle | 0.87 | Symfony bundle and Docker image for PHP static code analysis. Generates reports on complexity, maintainability, coupling, architecture/SOLID layer violations, and coverage. Built as a modern replacement for the unmaintained phpmetrics/phpmetrics. | 4 | 4 | 0 | 2 | 0 | 0.0 | 2.0 | — | — | |
| cmgmyr/phploc | 0.87 | Measure the size and structure of a PHP project with phploc: lines of code, cyclomatic complexity, dependencies, and class counts, right from the command line. | 27 | 27 | 7 | 385K | 0 | 20.1 | 63.6 | BSD-3-Clause | 2 months ago | |
| abenbachir/refactor-bundle | 0.87 | Laravel bundle that groups refactoring utilities and helpers to aid safe code changes. Provides commands and tooling to modernize and reorganize codebases, streamline maintenance, and support incremental refactors across projects. | 0 | 0 | 0 | 0 | 3 | 0.7 | 0.4 | — | — | |
| sstalle/php7cc | 0.87 | — | 1,507 | 1,456 | 121 | 1K | 20 | 18.9 | 10.6 | MIT | 9 years ago | |
| phpcq/all-tasks | 0.86 | phpcq/all-tasks bundles the full set of PHPCQ tasks into one convenient package, so you can install and run multiple code quality tools with a single dependency. Ideal for setting up consistent linting, testing, and analysis in your PHP projects. | 4 | 4 | 1 | 42 | 0 | 0.1 | 13.4 | MIT | — | |
| johnatas-x/phpcpd | 0.86 | 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 | |
| sweetchuck/robo-phpmd | 0.86 | — | 0 | 0 | 1 | 66 | 1 | 1.8 | 25.6 | — | 6 years ago | |
| infocyph/phpforge | 0.86 | PHPForge from infocyph is a lightweight PHP scaffolding and code generation toolkit for forging boilerplate classes, files, and project structures from simple commands or templates, helping streamline everyday development workflows. | 1 | 1 | 0 | 32K | 0 | 0.0 | 55.3 | MIT | — | |
| php-stubs/generator | 0.85 | Generate PHP stub files from your codebase for better IDE autocomplete, static analysis, and documentation. php-stubs/generator scans sources and produces lightweight stubs suitable for packages and frameworks, helping consumers get accurate type hints without shipping full sources. | 83 | 82 | 24 | 15K | 3 | 18.9 | 35.7 | MIT | 4 months ago | |
| pdepend/pdepend | 0.85 | PHP Depend (PDepend) is a static analysis tool for PHP that measures software metrics and detects design issues. It generates reports (XML, HTML, etc.) to help spot complexity, coupling, and code structure problems for better maintainability. | 962 | 984 | 141 | 3M | 10 | 38.0 | 58.0 | BSD-3-Clause | 1 month ago | |
| imanghafoori/php-imports-analyzer | 0.85 | CLI tool to scan Composer-based PHP projects for unnecessary or incorrect use/import statements. Helps clean up imports and enforce coding standards across apps and open-source packages. Install as dev dependency or globally; run check_imports from your project root. | 21 | 22 | 1 | 8K | 0 | 0.1 | 35.7 | MIT | — | |
| etsglobal/php-static-analysis | 0.85 | A PHP static analysis package from ETS Global for inspecting PHP codebases and supporting code quality workflows. Integrates into Laravel/PHP projects to help surface potential issues, encourage cleaner code, and complement existing test and CI pipelines with additional static checks. | 0 | 0 | — | 50 | — | 0.0 | 23.6 | — | — | |
| graham-campbell/analyzer | 0.85 | 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 | — | — | |
| phpcq/runner-bootstrap | 0.85 | Bootstrap package for phpcq/runner. Provides the minimal runtime setup to start the runner reliably in different environments, handling initial configuration and wiring so tools can execute consistently in CI and local setups. | 0 | 0 | 1 | 402 | 2 | 0.4 | 35.9 | — | — | |
| halleck45/php-metrics | 0.85 | PhpMetrics analyzes PHP projects and classes, producing a readable HTML report packed with code metrics like cyclomatic complexity, maintainability index, and coupling. Install it as a dev dependency via Composer and run it against any folder to spot risky code and track quality over time. | 2,616 | 2,603 | 261 | 3 | 2 | 46.2 | 0.9 | MIT | 2 months ago | |
| rector/swiss-knife | 0.85 | Swiss Knife is a CLI toolkit for PHP/Laravel upgrades: detect Git conflict markers and commented code, find multiple classes per file, align namespaces to PSR-4 roots, and finalize childless classes. Add its checks to CI and refactoring workflows. | 217 | 217 | 16 | 222K | 1 | 21.4 | 48.5 | MIT | 1 month ago | |
| covex-nn/phpcb | 0.85 | 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 | — | |
| php-parallel-lint/php-var-dump-check | 0.85 | 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 | |
| mayflower/php-codebrowser | 0.85 | Static PHP code browser that generates a cross-referenced HTML view of your source tree. Jump to classes, methods, and references, inspect files with syntax highlighting, and ship browsable documentation for audits, reviews, or onboarding. | 134 | 135 | 30 | 7K | 5 | 8.3 | 24.4 | BSD-3-Clause | 2 years ago |
How can I help you explore Laravel packages today?