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.
use statements, eliminating manual code review effort and reducing technical debtuse statement accuracy affects usability and maintainabilityclass_exists($className)) without explicit configurationThis lightweight, MIT-licensed tool automates detection of unused and incorrect PHP use statements, reducing technical debt and maintenance costs. Executives gain measurable quality improvements with minimal investment—no runtime impact on production code and seamless CI/CD integration to enforce standards. Engineering teams benefit from zero-configuration setup, pre-commit hook support, and immediate feedback on import hygiene, freeing up review capacity for higher-value work.
How can I help you explore Laravel packages today?