Skip to content

Improved Victor The Cleaner: removes unnecessary files from vendor directory

Notifications You must be signed in to change notification settings

janpecha/composer-cleaner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Improved Victor The Cleaner: removes unnecessary files from vendor directory

Resources

Stars

Watchers

Forks

Languages

  • PHP 100.0%