Show unused composer dependencies by scanning your code
With 0.8 release we introduced some regressions into the tool. This release should fix most of them.
composer-unused
will now annotate errors in your pull requests for unused or zombie packages--output-format
option is now available and can be set to default
or github
(new styles coming in the future)composer.json
was moved into composer-unused.php
(see https://github.com/composer-unused/composer-unused#configuration)Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.8.0...0.8.1
Version 0.8 marks a full rewrite of how composer-unused is scanning for unused packages and its integration into composer. There a new features that were rewritten and added again also some features got removed as they need a stable base to integrated again.
composer-unused itself is no longer a composer-plugin. This functionality was moved to composer-unused/composer-unused-plugin. If you want to use it as a plugin, you only need to install the plugin itself.
Other than that composer-unused is now working as a CLI tool. You can execute it from anywhere passing a --composer-json
as option to scan the given file, or like the previous behavior execute it beside the composer.json
you want to scan.
required-by
output after scan by @icanhazstring in https://github.com/composer-unused/composer-unused/pull/260
suggested-by
flag for console output by @icanhazstring in https://github.com/composer-unused/composer-unused/pull/261
Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.7.8...0.8.0
suggested-by
flag for console output by @icanhazstring in https://github.com/composer-unused/composer-unused/pull/261
Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.7.x...0.8.0-RC1
Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.7.11...0.7.12
This reverts changes done with 0.7.10.
As it turned out, removing composer/composer
is not that simple.
The dependency to it will be removed in later phase for 0.8 until that, 0.7 will stay as is.
Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.7.10...0.7.11
Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.7.7...0.7.8