PHP code example of wegmeister / databasestorage
1. Go to this page and download the library: Download wegmeister/databasestorage library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wegmeister / databasestorage example snippets
yaml
Wegmeister:
DatabaseStorage:
cleanup:
# Add storage identifier you wish to be cleaned up
storageIdentifier1:
# Define how long the data should be stored as date interval
# https://www.php.net/manual/en/class.dateinterval.php
dateInterval: "P6M"
removeFiles: true
storageIdentifier2:
dateInterval: "P1Y"
removeFiles: false