sarfraznawaz2005 / composer-cost
Displays cost/size of each composer package installed.
Installs: 7 718
Dependents: 0
Suggesters: 0
Security: 0
Stars: 37
Watchers: 1
Forks: 1
Open Issues: 0
Type:composer-plugin
pkg:composer/sarfraznawaz2005/composer-cost
Requires
- composer-plugin-api: ^1.1|^2.0
This package is auto-updated.
Last update: 2025-10-20 00:03:30 UTC
README
composer-cost
Simple composer plugin that displays size of each folder under vendor to help you with which package is taking the most disk space. It will run automatically when you use composer install or composer update command.
Screenshot
Install
You can install it globally:
composer global require sarfraznawaz2005/composer-cost
or per-project bases:
composer require sarfraznawaz2005/composer-cost
That's it. Now on any project when you type composer update or composer install, it will show info like above screenshot.
FYI, you can skip any plugin when installing/updating by appending --no-plugins argument, example:
composer update --no-plugins
Thanks
