imanghafoori/php-imports-analyzer
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ddeboer/data-import | 0.83 | — | 558 | 576 | 124 | 13K | 31 | 20.2 | 33.6 | MIT | 9 years ago | |
| darkilliant/import | 0.82 | — | 5 | 5 | 1 | 0 | 6 | 3.2 | 1.5 | GPL-3.0 | 7 years ago | |
| avtonom/mathielen-import-engine | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| 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,449 | 2,521 | 357 | 2M | 60 | 44.8 | 58.9 | BSD-3-Clause | 2 years ago | |
| sirbrillig/phpcs-import-detection | 0.78 | PHPCS sniffs that warn when classes/functions/constants are used without an explicit import or fully-qualified name, and flags unused imports. Helps catch namespace issues during refactors (note: PHP 8 tokenization bug/performance caveats). | 33 | 32 | 8 | 9K | 10 | 8.4 | 36.4 | NOASSERTION | 3 years ago | |
| icanhazstring/composer-unused | 0.72 | composer-unused detects and removes unused Composer dependencies in PHP/Laravel projects. It analyzes your codebase to find packages not referenced, reports what can be safely removed, and helps keep composer.json/lock lean and maintainable. | 1,687 | 1,687 | 57 | 383K | 11 | 31.1 | 39.5 | MIT | 7 months ago | |
| shipmonk/composer-dependency-analyser | 0.71 | Fast, zero-dependency tool to analyze Composer dependencies. Detects unused, shadowed, and misplaced packages/extensions by scanning your autoload paths. Works out of the box, highly configurable, and very performant (15k files in ~2s). Compatible with PHP 7.2–8.5. | 626 | 628 | 15 | 845K | 15 | 19.2 | 51.1 | MIT | 9 months ago |
How can I help you explore Laravel packages today?