fittinq / symfony-rabbitmq-bundle
There is no license information available for the latest version (18.0.2) of this package.
Package info
gitlab.com/qlfbrands/fittinq-symfony/symfony-rabbitmq-bundle
pkg:composer/fittinq/symfony-rabbitmq-bundle
18.0.2
2025-11-25 11:58 UTC
Requires
- ext-json: *
- doctrine/orm: ^3.3
- fittinq/logger-elasticsearch: ^7.0
- fittinq/symfony-exchange: ^5.0
- fittinq/symfony-opsgenie2: ^6.0
- fittinq/symfony-rabbitmq: ^22.1
- symfony/framework-bundle: ^6.4
- symfony/http-client: ^6.4
Requires (Dev)
- fittinq/symfony-mock: ^9.0
- phpunit/phpunit: ^9.5
- symfony/yaml: ^6.4
This package is auto-updated.
Last update: 2026-05-26 16:33:54 UTC
README
Introduction
Use symfony opsgenie to send alert messages if any error is thrown.
Table of Contents
Installation
composer require fittinq/symfony-opsgenie
Usage
Create an instance of the Opsgenie class, providing it with the required dependencies: HttpClientInterface, OPSGENIE_HOST_URL, and the OPSGENIE_API_KEY.
use Fittinq\Symfony\RabbitMQ\Bundle\ErrorHandler; use Symfony\Contracts\HttpClient\HttpClientInterface; $httpClient = new HttpClient(); // Replace with your actual HttpClient instance. $opsgenie = new Opsgenie($httpClient, OPSGENIE_HOST_URL, OPSGENIE_API_KEY);You can now use the escalate method to send an alert to Opsgenie:
$alertMessage = "This is an alert that needs attention!"; $opsgenie->escalate($alertMessage);
Configuration
Add the following parameters to your environment
OPSGENIE_HOST_URL=
OPSGENIE_API_KEY=