https://github.com/sarfraznawaz2005/composer-cost
Displays cost/size of each composer package installed.
https://github.com/sarfraznawaz2005/composer-cost
composer composer-plugin php size size-calculation vendor
Last synced: about 1 month ago
JSON representation
Displays cost/size of each composer package installed.
- Host: GitHub
- URL: https://github.com/sarfraznawaz2005/composer-cost
- Owner: sarfraznawaz2005
- Created: 2020-02-12T13:28:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-19T17:10:53.000Z (almost 3 years ago)
- Last Synced: 2025-02-27T09:48:50.786Z (about 2 months ago)
- Topics: composer, composer-plugin, php, size, size-calculation, vendor
- Language: PHP
- Size: 35.2 KB
- Stars: 36
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://packagist.org/packages/sarfraznawaz2005/composer-cost)
# 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