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 | — | 559 | 577 | 124 | 26K | 31 | 20.2 | 37.3 | 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,441 | 2,503 | 352 | 2M | 68 | 45.6 | 60.8 | 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). | 32 | 32 | 7 | 6K | 10 | 8.4 | 34.5 | 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,685 | 1,684 | 57 | 371K | 11 | 33.5 | 40.0 | MIT | 5 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. | 620 | 621 | 14 | 529K | 17 | 21.8 | 49.5 | MIT | 7 months ago |
How can I help you explore Laravel packages today?