Skip to content
/ skrub Public

A package to remove junk from Composer installations and trim build sizes.

License

Notifications You must be signed in to change notification settings

ssx/skrub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skrub.

Skrub is a composer plugin that will remove useless files and free up some space, especially useful when trying to keep Docker images small. A lot of OSS project owners use .gitattributes to strip junk out but the majority don't.

Installation

Just run composer require ssx/skrub and you're good to go.

Usage

composer skrub will list the files Skrub feels it can safely remove and the total disk space that can be regained.

Adding --perform to the command will actually delete the files & directories from your system.

asciicast

Warranty, Disclaimer etc.

This is a plugin that will perform a deletion command on your system. The author is in no way liable for any data loss arising from its use or if it deletes unexpected files. Pay attention to the files Skrub lists.

Security Issues

If you discover a security issue with Skrub, please email scott@dor.ky and I'll response as soon as possible.