arkitekto/request-id

Middleware for adding a request id to PSR7 Requests

dev-master / 1.0.x-dev 2016-11-01 14:37 UTC

README

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.