Download the PHP package sunnysideup/silverstripe-garbage-collector without Composer
On this page you can find all versions of the php package sunnysideup/silverstripe-garbage-collector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sunnysideup/silverstripe-garbage-collector
More information about sunnysideup/silverstripe-garbage-collector
Files in sunnysideup/silverstripe-garbage-collector
Package silverstripe-garbage-collector
Short Description SilverStripe Garbage Collector module
License MIT
Informations about the package silverstripe-garbage-collector
SilverStripe Garbage Collection Module
Overview
SilverStripe Module for defining and processing Garbage Collection on SilverStripe Applications.
Installation
Basic Usage
The below example shows how you can enable and configure the VersionedCollector and ChangeSetCollector for your application.
The example setup will create a job that run all garbadge collectors every day after running dev build. It does this by calling GarbageCollectorService::inst()->process();
.
You also may decide to do this with some other process (BuildTask with Crontab that calls GarbageCollectorService::inst()->process();
)
Documentation
Garbage Collection is based on the idea of removal/processing of records and items that may not have native garbage collection. This should be extendable to work with any type of data set as long as there are corresponding processors.
Components
- Collectors
- Processors
- Garbage Collector Service
Guides
- Advanced Usage
Reporting Issues
Please create an issue for any bugs you've found, or features you're missing.
License
This module is released under the MIT License
Credits
This project is made possible by the community surrounding it and especially the wonderful people and projects listed in this document.
Contributors
- Brett Tasker (https://github.com/brettt89)
- Mojmir Fendek (https://github.com/mfendeksilverstripe)