siganushka/request-token-bundle

Add X-Request-Id for request/response headers.

0.6.0 2022-05-09 09:48 UTC

This package is auto-updated.

Last update: 2022-06-09 10:03:58 UTC


README

Build Status Latest Stable Version Latest Unstable Version License

Add X-Request-Id for request/response headers.

see: What is the X-REQUEST-ID http header

Installation

$ composer require siganushka/request-token-bundle

Configuration

# ./config/packages/siganushka_request_token.yaml

siganushka_request_token:
    enabled: true
    header_name: X-Request-Id
    token_generator: siganushka_request_token.generator.random_bytes