Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heimrichhannot/contao-cleaner-bundle
This bundle adds cleaner functionality for periodically removing arbitrary entities and/or files fulfilling a certain condition.
https://github.com/heimrichhannot/contao-cleaner-bundle
Last synced: about 1 month ago
JSON representation
This bundle adds cleaner functionality for periodically removing arbitrary entities and/or files fulfilling a certain condition.
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-cleaner-bundle
- Owner: heimrichhannot
- License: lgpl-3.0
- Created: 2018-03-06T14:57:16.000Z (almost 7 years ago)
- Default Branch: v3
- Last Pushed: 2024-08-13T12:25:05.000Z (4 months ago)
- Last Synced: 2024-11-06T17:26:09.090Z (about 2 months ago)
- Language: PHP
- Homepage:
- Size: 157 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
![](https://img.shields.io/packagist/v/heimrichhannot/contao-cleaner-bundle.svg)
![](https://img.shields.io/packagist/dt/heimrichhannot/contao-cleaner-bundle.svg)
[![](https://img.shields.io/travis/heimrichhannot/contao-cleaner-bundle/master.svg)](https://travis-ci.org/heimrichhannot/contao-cleaner-bundle/)
[![](https://img.shields.io/coveralls/heimrichhannot/contao-cleaner-bundle/master.svg)](https://coveralls.io/github/heimrichhannot/contao-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)
*Cleaner configuration*
## Install
1. Install via composer (`composer require heimrichhannot/contao-cleaner-bundle`) or contao manager
1. 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.