PHPackages                             brainswarm/cleanup - 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. brainswarm/cleanup

ActiveTypo3-flow-package

brainswarm/cleanup
==================

This package looks for unused resources and deletes them on disc. It does that via a command controller.

26PHP

Since May 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/DavidSporer/Brainswarm.Cleanup)[ Packagist](https://packagist.org/packages/brainswarm/cleanup)[ RSS](/packages/brainswarm-cleanup/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Brainswarm.Cleanup
==================

[](#brainswarmcleanup)

This package provides a command controller that allows you to clean up resources. Tested with Flow 2.x

### How to use it

[](#how-to-use-it)

Add the package to your Flow Installation. Afterwards you can use the following commands:

./flow resources:cleanup This loops through all files in the Data/Persistent/Resources/ folder and checks if they are still being referenced in the database. If not, the files are deleted.

./flow resources:cleanupbydb This loops through all resources that are known in the database and deletes them if they aren't referenced anymore by a model.

### Hints

[](#hints)

Since this package is manipulating resources and the database it is recommended to make a backup of both your Resources as well as the database. The package can be very helpful when you need to save disc space or need to cleanup things e.g. when preparing for an upgrade to Flow 3.x and above.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ddab82864d66508368018d285d2677d557553e4798545fbbf7b494255e5cc1e?d=identicon)[sporerd](/maintainers/sporerd)

---

Top Contributors

[![DavidSporer](https://avatars.githubusercontent.com/u/1636571?v=4)](https://github.com/DavidSporer "DavidSporer (25 commits)")

### Embed Badge

![Health badge](/badges/brainswarm-cleanup/health.svg)

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

PHPackages © 2026

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