Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Composer Unused Laravel Package

icanhazstring/composer-unused

composer-unused detects and removes unused Composer dependencies in PHP/Laravel projects. It analyzes your codebase to find packages not referenced, reports what can be safely removed, and helps keep composer.json/lock lean and maintainable.

View on GitHub
Deep Wiki
Context7
0.9.6

What's Changed

New Contributors

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.9.5...0.9.6

0.9.4

What's Changed

New Contributors

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.9.3...0.9.4

0.9.3

What's Changed

New Contributors

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.9.2...0.9.3

0.9.0

What's Changed

New Contributors

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.8.11...0.9.0

0.8.11

Features/Improvements 💡

Fixes 🐛

New Contributors

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.8.10...0.8.11

0.8.10

Features 💡

Fixes 🐛

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.8.9...0.8.10

0.8.9

Features 💡

Fixes 🐛

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.8.8...0.8.9

0.8.8

New Features 💡

Fixes 🐛

New Contributors

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.8.7...0.8.8

0.8.3

Improvements 🔧

Fixes 🐛

New Contributors

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.8.2...0.8.3

0.8.2

What's Changed

With 0.8.2 we improved the performance of the tool quite a bit. So the overall experience should be be better. In preparation to get the composer-unused-plugin to work properly. We prefixed the sources inside the .phar file.

Improvements 🔧

Fixes 🐛

New Contributors

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.8.1...0.8.2

0.8.1

What's Changed

With 0.8 release we introduced some regressions into the tool. This release should fix most of them.

Features 💡

  • GithubAction Annotations:
    • With this, 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)
  • Dedicated configuration

Improvements 🔧

Fixes 🐛

New Contributors

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.8.0...0.8.1

0.8.0

What's Changed

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.

Integration with composer

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.

Improvements 🔧

Fixed 🐛

New Contributors

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.7.8...0.8.0

0.8.0-RC1

What's Changed

New Contributors

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.7.x...0.8.0-RC1

0.7.11

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

0.7.10
0.7.9
0.7.8

What's Changed

New Contributors

Full Changelog: https://github.com/composer-unused/composer-unused/compare/0.7.7...0.7.8

0.7.7

Added

0.7.6

Removed

  • Droppped support for composer v1

This release should fix issue with old and new github key format

0.7.5

Added

  • Added an InstanceofStrategy which detects usages in instanceof expressions #100 Thanks to @localheinz
0.7.4

Fixed

  • Fixed an issue where ext-ds classes were not recognized as used #88
  • Fixed an issue where extends and implements of FQN was not marked as used #97
0.7.3

Added

  • Added workflow to verify integrity of build phar file
  • Added self unused dependency check using bin/composer-unused

Changed

  • Readded composer/composer into root requirements as its required to run bin/composer-unused

Fixed

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport