janpecha / composer-cleaner
Victor The Cleaner: removes unnecessary files from vendor directory.
Installs: 160
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 19
Type:composer-plugin
Requires
- php: >=5.6.0
- composer-plugin-api: ^1.0 || ^2.0
Requires (Dev)
- composer/composer: ^1.10 || ^2.0
- nette/tester: ^2.0
This package is auto-updated.
Last update: 2024-10-29 06:19:30 UTC
README
This tool removes unnecessary files and directories from Composer vendor directory.
Forked from originally dg/composer-cleaner.
Installation
composer require janpecha/composer-cleaner
Then simply use composer update
.
Configuration
You can also specify paths to be ignored (ie they will not be deleted) via composer.json
:
{ "extra": { "cleaner-ignore": { "slevomat/eet-client": [ // name of package "wsdl*" // files or subdirectories, you can use wildcards `*` and `?` ], "mpdf/mpdf": true // ignores whole package } } }