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

v1.0.0 2020-12-08 11:27 UTC

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
		}
	}
}