23
GitHub - Insolita/unused-scanner: Detect unused composer dependencies
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.
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..
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK