Skip to content

requirecloud/composer-slimmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composer Slimmer

Run tests

Plan of Cleanup

  • Remove listed folders (so we don't need to search inside them)
  • Find all files with patterns e.g. *.{md,txt,rst,dist}
  • Make list of files to be removed from found files and listed files
  • Remove files
  • Report the size of removed files and folders

How to test

Require Plugin in the project and accept plugin:

composer require requirecloud/composer-slimmer

Clean projects vendor and other folders loaded by Composer.

Then test installing with Composer Slimmer plugin (-v flag is for verbose output):

composer install -v

At the end you should see how much space was saved.

Resources

About

Composer Plugin remove obsolete files and folders

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •