Download the PHP package benjamin-rqt/data-watcher-bundle without Composer
On this page you can find all versions of the php package benjamin-rqt/data-watcher-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download benjamin-rqt/data-watcher-bundle
More information about benjamin-rqt/data-watcher-bundle
Files in benjamin-rqt/data-watcher-bundle
Download benjamin-rqt/data-watcher-bundle
More information about benjamin-rqt/data-watcher-bundle
Files in benjamin-rqt/data-watcher-bundle
Vendor benjamin-rqt
Package data-watcher-bundle
Short Description Symfony bundle for database anomaly detection with email notifications
License MIT
Package data-watcher-bundle
Short Description Symfony bundle for database anomaly detection with email notifications
License MIT
Please rate this library. Is it a good library?
Informations about the package data-watcher-bundle
benjamin-rqt/data-watcher-bundle
Symfony bundle for database anomaly detection with email notifications and execution history.
Requirements
- PHP >= 8.2
- Symfony 6.3, 7.0 or 8.0
Symfony components
- framework-bundle
- messenger
- mailer
- twig-bundle
- scheduler
Doctrine
- doctrine/dbal ^3.0 or ^4.0
- (Optional) doctrine/orm (if you use
AbstractDoctrineCheck)
External dependencies
- dragonmantank/cron-expression (required for cron-based scheduler triggers)
Installation
1. Declare the bundle in composer.json
2. Install
3. Register the bundle (if Flex doesn't do it automatically)
4. Create the bundle configuration
5. Configure Messenger for the scheduler
6. Environment variables (.env.local)
7. Setup the database table
This bundle uses a custom table data_watcher_run to store the history of checks. Run the following command to create it:
Add a check in your application
Create a class in your app (not in the bundle):
With raw SQL
With Doctrine ORM
With a callable
Then declare the handler containing the callable and the detection logic:
Other possible configurations
Increase the number of anomalies to trigger an alert
Specific recipients for a check
Available commands
Start the worker (scheduler)
No configuration is required for the scheduler, it automatically detects CRON expressions defined in checks and executes them at the right time.
Quick CRON expressions
| Expression | Meaning |
|---|---|
0 8 * * * |
Every day at 8:00 AM |
*/30 * * * * |
Every 30 minutes |
0 9 * * 1-5 |
Mon–Fri at 9:00 AM |
@daily |
Once a day |
@hourly |
Once an hour |
All versions of data-watcher-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
symfony/framework-bundle Version ^6.3|^7.0|^8.0
symfony/mailer Version ^6.3|^7.0|^8.0
symfony/messenger Version ^6.3|^7.0|^8.0
symfony/scheduler Version ^6.3|^7.0|^8.0
symfony/twig-bundle Version ^6.3|^7.0|^8.0
doctrine/dbal Version ^3.0|^4.0
dragonmantank/cron-expression Version ^3.0
symfony/framework-bundle Version ^6.3|^7.0|^8.0
symfony/mailer Version ^6.3|^7.0|^8.0
symfony/messenger Version ^6.3|^7.0|^8.0
symfony/scheduler Version ^6.3|^7.0|^8.0
symfony/twig-bundle Version ^6.3|^7.0|^8.0
doctrine/dbal Version ^3.0|^4.0
dragonmantank/cron-expression Version ^3.0
The package benjamin-rqt/data-watcher-bundle contains the following files
Loading the files please wait ...