siganushka / request-token-bundle
Add X-Request-Id for request/response headers.
Installs: 96
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=8.1
- symfony/framework-bundle: ^6.4|^7.0
Requires (Dev)
- monolog/monolog: ^2.4|^3.0
- symfony/uid: ^6.4|^7.0
README
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