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: 2024-11-16 04:55:31 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\RequestTokenBundle\Generator\UniqidTokenGenerator