28

GitHub - Insolita/unused-scanner: Detect unused composer dependencies

 7 years ago
source link: https://github.com/Insolita/unused-scanner
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

README.md

Project scanner for detect unused composer dependencies

Installation

composer global require insolita/unused-scanner

Ensure that your ~/.composer/vendor/bin directory declared in $PATH

echo $PATH

if not - you should add it in ~/.bashrc or ~/.profile

Usage

prepare configuration file, see scanner_config.example.php

put it in project root (or other place)

run composer dumpautoload in your project directory

run unused_scanner /path/to/configuration/file/scanner_config.php

wait for result..

Demo screenshot


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK