Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 755 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 755 Bytes

PHP Imports Analyzer

A command line utility designed to scan your composer-based PHP applications and identify unnecessary or incorrect use statements. This tool is especially beneficial for examining your open-source packages, ensuring they adhere to optimal coding standards.

Install:

composer require imanghafoori/php-imports-analyzer --dev

Alternatively, you have the option to install it globally:

composer global require imanghafoori/php-imports-analyzer

Usage:

./vendor/bin/check_imports

Navigate to your project's root directory and run the following command:

check_imports

image