Download the PHP package deslynx/alert-bundle without Composer
On this page you can find all versions of the php package deslynx/alert-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download deslynx/alert-bundle
More information about deslynx/alert-bundle
Files in deslynx/alert-bundle
Package alert-bundle
Short Description Send alert email service and specialized Monolog handler
License MIT
Informations about the package alert-bundle
AlertBundle
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Applications that don't use Symfony Flex
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
Configuration
Important note
This bundle rely on the Symfony Mailer component for sending email so be sure to have it configured.
Usage (service)
This bundle provide a single service for sending an alert email which you can autowire by using the AlertHelper
type-hint:
Usage (Monolog Handler)
This bundle provide a Monolog Handler using the AlertHelper
service. It allows to add a monolog handler config to send an alert email with the full log stack on every critical error happening in the project.
To enable this functionality, require the MonologBundle if not already done then just add this to your monolog config:
All versions of alert-bundle with dependencies
symfony/dependency-injection Version ^5.4 || ^6.0 || ^7.0
symfony/config Version ^5.4 || ^6.0 || ^7.0
symfony/http-kernel Version ^5.4 || ^6.0 || ^7.0
symfony/mailer Version ^5.4 || ^6.0 || ^7.0
monolog/monolog Version ^2.0 || ^3.0