Download the PHP package eblick/contao-trigger without Composer
On this page you can find all versions of the php package eblick/contao-trigger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download eblick/contao-trigger
More information about eblick/contao-trigger
Files in eblick/contao-trigger
Package contao-trigger
Short Description Time and condition based trigger framework for notifications and other things inside Contao Open Source CMS
License LGPL-3.0
Informations about the package contao-trigger
contao-trigger
This bundle adds an extensible condition ⇒ action framework to Contao OpenSource CMS. The condition checking is processed on a regular basis via a cron job. If one or more actions are executed a respective entry gets created in the trigger log.
Components
By default the following components are available:
-
Conditions
-
Table Records: Executes an action at most once for each of a selected table's rows if:
A) a custom expression based on the table's columns is met
category == 'things' and sum_total - coupon 2 > 100
B) a field containing datetime information matches a given time constraint (e.g. 7 days later / 15 minutes before). When using the latter, the execution time can be overwritten (e.g. 3 days in advance, but at 6pm).
- Point in Time: Executes an action as soon as a given point in time is reached. This allows basic scheduling.
-
- Actions
- Notification Action: Allows to send a custom notification via
terminal42\notification-center
(must be installed individually). The available simple tokens are based on the selected condition and are displayed in the backend.
- Notification Action: Allows to send a custom notification via
Installation
- Installation / Setup
Extending the framework
- Adding conditions & actions
All versions of contao-trigger with dependencies
contao/core-bundle Version ^4.13 || ^5.1
symfony/expression-language Version ^5.4 || ^6.0
symfony/stopwatch Version ^5.4 || ^6.0
symfony/lock Version ^5.4 || ^6.0
doctrine/dbal Version ^3.3