Recommend this page to a friend! |
Classes of Insolita | Unused PHP Composer Packages Scanner | README.md | Download |
|
DownloadProject scanner for detect unused composer dependenciesVersionsUse 1.3.x@dev versions for projects with php 5.6, 7.0 Use 2.x versions for projects with php >= 7.1 ChangeLogsee CHANGELOG.md Installation
Ensure that your ~/.composer/vendor/bin directory declared in $PATH
if not - you should add it in ~/.bashrc or ~/.profile Update
Usageprepare configuration file, see scanner_config.example.php put it in project root (or other place) run run since 1.1 you can run it without argument, if scanner_config.php existed in current working directory, it will be used by default For auto-testing: Add --silent option for skip progress output and return exit code = 16, when unused packages detected run Docker: run wait for result.. |