Download the PHP package hamaka/userforms-cleanupsubmissions without Composer

On this page you can find all versions of the php package hamaka/userforms-cleanupsubmissions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package userforms-cleanupsubmissions

Silverstripe UserForms: clean up form submissions

Simple task to automatically cleanup userdata

Installation

To install run composer require hamaka/userforms-cleanupsubmissions.

Requirements

Note: This is the SilverStripe 6 release line (branch 6). For Silverstripe 3, please use the 3.x release line, for Silverstripe 4, please use the 4.x release line, for Silverstripe 5, please use the 5.x release line.

Features

Configuration

Global retention period (fallback)

By default, the module will clean up entries older than 31 days. You can change this fallback via yml:

This is used as a fallback for submissions that have no associated form retention policy.

Per-form retention policies (recommended)

Since version 5.1, you can set individual retention policies per form. This is the recommended approach.

For UserDefinedForm

Edit any UserDefinedForm in the CMS and navigate to the Settings tab. You'll find a Submission Retention Policy dropdown where you can select:

For Elemental UserForm elements

The same retention policy field is available when editing Elemental UserForm elements.

Customizing retention options

You can customize the available retention options in your project's _config.yml:

Running the cleanup task

The cleanup task can be run manually via the command line:

Or you can set it up to run automatically via a cron job:

Translations

The module includes built-in translations for:

To add additional translations, create language files in your project and override the translation keys.


All versions of userforms-cleanupsubmissions with dependencies

PHP Build Version
Package Version
Requires silverstripe/userforms Version ^7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hamaka/userforms-cleanupsubmissions contains the following files

Loading the files please wait ...