afurculita / request-id

Add request :id:'s to request and response.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request ID

Latest Version on Packagist Software License Build Status Quality Score Total Downloads

This library includes:

  1. A PSR7 middleware that provides framework-agnostic possibility to generate and add to request/response's header a request ID.
  2. A Symfony Bundle that provides possibility to generate and add a request id to request/response's header in a Symfony application.
  3. A Monolog processor that adds the request id to each log message.
  4. A Twig Extension that provides a function that returns the request id.

Emblem

Install

Via Composer

$ composer require arkitekto/request-id

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email alex@furculita.net instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Add request :id:'s to request and response.

License:MIT License


Languages

Language:PHP 100.0%