Symfony bundle which enriches exceptions with some additional information like the request URL, the logged in user's name etc.
- PHP 8.1 or greater
- Symfony 6.0
- Monolog v2 for version 1.x, v3 for version 2.x
-
Require the bundle with Composer:
composer require sblum/exception-enricher
-
If not already happened automatically, enable the bundle in
config/bundles.php
by adding it to the array:ExceptionEnricher\ExceptionEnricherBundle::class => ['all' => true],