Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 727 Bytes

readme.md

File metadata and controls

35 lines (25 loc) · 727 Bytes

Victor The Cleaner for Composer

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