Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 9 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-19T17:10:53.000Z (over 2 years ago)
- Last Synced: 2024-10-11T20:14:27.605Z (25 days ago)
- Topics: composer, composer-plugin, php, size, size-calculation, vendor
- Language: PHP
- Size: 35.2 KB
- Stars: 35
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Total Downloads](https://poser.pugx.org/sarfraznawaz2005/composer-cost/downloads)](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
![Main Window](https://raw.githubusercontent.com/sarfraznawaz2005/composer-cost/master/screenshot.png)
## 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