Skrub can help to clear some disk space.





Installs: 18 734

Dependents: 0

Suggesters: 0

Security: 0

Stars: 87

Watchers: 3

Forks: 2

Open Issues: 5


v1.0.3 2019-10-23 19:54 UTC

This package is auto-updated.

Last update: 2022-07-24 02:23:35 UTC


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.


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


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.

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 and I'll response as soon as possible.