Middleware for adding a request id to PSR7 Requests
This library includes:
- A PSR7 middleware that provides framework-agnostic possibility to generate and add to request/response's header a request ID.
- A Symfony Bundle that provides possibility to generate and add a request id to request/response's header in a Symfony application.
- A Monolog processor that adds the request id to each log message.
- A Twig Extension that provides a function that returns the request id.
$ composer require arkitekto/request-id
Please see CHANGELOG for more information what has changed recently.
$ composer test
If you discover any security related issues, please email email@example.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.