PHPackages                             heimrichhannot/contao-cleaner-bundle - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. heimrichhannot/contao-cleaner-bundle

ActiveContao-bundle[File &amp; Storage](/categories/file-storage)

heimrichhannot/contao-cleaner-bundle
====================================

This bundle adds cleaner functionality for periodically removing arbitrary entities and/or files fulfilling a certain condition in Contao (using TL\_CRON or your server's cron).

3.4.0(1mo ago)13.2k↓33.3%1LGPL-3.0-or-laterPHPPHP ^8.2

Since Mar 7Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/heimrichhannot/contao-cleaner-bundle)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-cleaner-bundle)[ Docs](https://github.com/heimrichhannot/contao-cleaner-bundle)[ RSS](/packages/heimrichhannot-contao-cleaner-bundle/feed)WikiDiscussions v3 Synced 1w ago

READMEChangelog (10)Dependencies (26)Versions (36)Used By (0)

[![](https://camo.githubusercontent.com/74772ad31d7350baea1dfa98b31457e95b5dc2f7445b79becb7d1b0d6a0a9a9c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6865696d7269636868616e6e6f742f636f6e74616f2d636c65616e65722d62756e646c652e737667)](https://camo.githubusercontent.com/74772ad31d7350baea1dfa98b31457e95b5dc2f7445b79becb7d1b0d6a0a9a9c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6865696d7269636868616e6e6f742f636f6e74616f2d636c65616e65722d62756e646c652e737667)[![](https://camo.githubusercontent.com/3c6f47fc0ce16054dc30ad6628105818f59ec84fa327c01e4b1cf6ec3cf0deef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6865696d7269636868616e6e6f742f636f6e74616f2d636c65616e65722d62756e646c652e737667)](https://camo.githubusercontent.com/3c6f47fc0ce16054dc30ad6628105818f59ec84fa327c01e4b1cf6ec3cf0deef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6865696d7269636868616e6e6f742f636f6e74616f2d636c65616e65722d62756e646c652e737667)[![](https://camo.githubusercontent.com/488cf33f6ddcd7821d37e01c6af15f978dfd3726e121d801b369c68b7c724afb/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6865696d7269636868616e6e6f742f636f6e74616f2d636c65616e65722d62756e646c652f6d61737465722e737667)](https://travis-ci.org/heimrichhannot/contao-cleaner-bundle/)[![](https://camo.githubusercontent.com/af6f80f4b71bb838769e1865e29bd5120ab5f36381f18b3799f527af81160247/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6865696d7269636868616e6e6f742f636f6e74616f2d636c65616e65722d62756e646c652f6d61737465722e737667)](https://coveralls.io/github/heimrichhannot/contao-cleaner-bundle)

Cleaner Bundle
==============

[](#cleaner-bundle)

This bundle adds cleaner functionality for periodically removing arbitrary entities and/or files fulfilling a certain condition (using poor man's cron or your server's cron).

[![alt Archive](docs/screenshot.png)](docs/screenshot.png)

*Cleaner configuration*

Install
-------

[](#install)

1. Install via composer (`composer require heimrichhannot/contao-cleaner-bundle`) or contao manager
2. Update your database

Events
------

[](#events)

EventClassDescriptionhuh.cleaner.event.before\_cleanBeforeCleanEventRun before the entity is cleaned. Use `setSkipped()` to skip the cleaning of the passed in entity.huh.cleaner.event.after\_cleanAfterCleanEventRun after the entity is cleaned.

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance89

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~88 days

Recently: every ~48 days

Total

35

Last Release

57d ago

Major Versions

1.0.1 → 2.0.02018-03-12

v2.x-dev → 3.0.02024-05-03

PHP version history (5 changes)1.0.0PHP ^7.1

2.6.3PHP ^7.1|^8.0

3.0.0PHP ^7.4 || ^8.0

3.3.0PHP ^8.1

3.4.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Top Contributors

[![koertho](https://avatars.githubusercontent.com/u/12064642?v=4)](https://github.com/koertho "koertho (18 commits)")[![ericges](https://avatars.githubusercontent.com/u/25957923?v=4)](https://github.com/ericges "ericges (17 commits)")[![Defcon0](https://avatars.githubusercontent.com/u/1485098?v=4)](https://github.com/Defcon0 "Defcon0 (1 commits)")[![K0NZ1](https://avatars.githubusercontent.com/u/16319351?v=4)](https://github.com/K0NZ1 "K0NZ1 (1 commits)")[![vvohh](https://avatars.githubusercontent.com/u/75325799?v=4)](https://github.com/vvohh "vvohh (1 commits)")

---

Tags

bundlefileentitycontaodevelopercleaner

###  Code Quality

Static AnalysisPHPStan, Rector

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-cleaner-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/heimrichhannot-contao-cleaner-bundle/health.svg)](https://phpackages.com/packages/heimrichhannot-contao-cleaner-bundle)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.9k556.2M21.1k](/packages/laravel-framework)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M444](/packages/drupal-core-recommended)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M225](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1301.7M3.0k](/packages/contao-core-bundle)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)

PHPackages © 2026

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