imanghafoori/php-imports-analyzer

A command line tool to scan for extra or wrong use statements in composer based apps.

Maintainers

Package info

github.com/imanghafoori1/php-imports-analyzer

pkg:composer/imanghafoori/php-imports-analyzer

Statistics

Installs: 208 544

Dependents: 20

Suggesters: 0

Stars: 21

Open Issues: 0

v1.1.0 2025-03-24 21:07 UTC

This package is auto-updated.

Last update: 2026-02-24 23:00:43 UTC


README

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