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).

Package info

github.com/heimrichhannot/contao-cleaner-bundle

Type:contao-bundle

pkg:composer/heimrichhannot/contao-cleaner-bundle

Statistics

Installs: 3 171

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

3.4.0 2026-06-12 08:56 UTC

Requires

Suggests

None

Provides

None

Conflicts

Replaces

None

LGPL-3.0-or-later e7fb0ff21f1cc11248aa768516b8e2355a2274fc

filebundledeveloperentitycontaocleaner


README

👁 Image
👁 Image
👁 Image
👁 Image

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

Cleaner configuration

Install

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

Events

Event Class Description
huh.cleaner.event.before_clean BeforeCleanEvent Run before the entity is cleaned. Use setSkipped() to skip the cleaning of the passed in entity.
huh.cleaner.event.after_clean AfterCleanEvent Run after the entity is cleaned.