PHPackages                             ssx/skrub - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ssx/skrub

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

ssx/skrub
=========

Skrub can help to clear some disk space.

v1.0.3(6y ago)8518.7k2[3 issues](https://github.com/ssx/skrub/issues)MITPHPCI failing

Since Sep 18Pushed 3y ago2 watchersCompare

[ Source](https://github.com/ssx/skrub)[ Packagist](https://packagist.org/packages/ssx/skrub)[ RSS](/packages/ssx-skrub/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

Skrub.
======

[](#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

[](#installation)

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

### Usage

[](#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 &amp; directories from your system.

[![asciicast](https://camo.githubusercontent.com/4ac6810b220d1b3a86b473eda4f62dd256d7db59862095ba8014e0aa16fab8dc/68747470733a2f2f61736369696e656d612e6f72672f612f4e48496d6b753970574f774d3245593334595a547134525a752e737667)](https://asciinema.org/a/NHImku9pWOwM2EY34YZTq4RZu)

### Warranty, Disclaimer etc.

[](#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

[](#security-issues)

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

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Total

4

Last Release

2442d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/254889?v=4)[Scott](/maintainers/ssx)[@ssx](https://github.com/ssx)

---

Top Contributors

[![ssx](https://avatars.githubusercontent.com/u/254889?v=4)](https://github.com/ssx "ssx (18 commits)")[![pataar](https://avatars.githubusercontent.com/u/3403851?v=4)](https://github.com/pataar "pataar (1 commits)")[![sarelvdwalt](https://avatars.githubusercontent.com/u/2071493?v=4)](https://github.com/sarelvdwalt "sarelvdwalt (1 commits)")

---

Tags

buildcleanercleanupcomposercomposer-packagecomposer-plugindisk-spacephp

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ssx-skrub/health.svg)

```
[![Health](https://phpackages.com/badges/ssx-skrub/health.svg)](https://phpackages.com/packages/ssx-skrub)
```

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74798.8M955](/packages/symfony-runtime)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M531](/packages/drupal-core-composer-scaffold)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

3014.6M24](/packages/vaimo-composer-patches)[drupal/core-project-message

Adds a message after Composer installation.

2124.0M195](/packages/drupal-core-project-message)[phpro/grumphp-shim

GrumPHP Phar distribution

294.7M335](/packages/phpro-grumphp-shim)[automattic/jetpack-autoloader

Creates a custom autoloader for a plugin or theme.

576.1M114](/packages/automattic-jetpack-autoloader)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
