siganushka / request-token-bundle
Add X-Request-Id for request/response headers.
Installs: 88
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.4
- symfony/framework-bundle: ^5.4|^6.0
Requires (Dev)
- symfony/monolog-bundle: ^3.5
- symfony/phpunit-bridge: ^5.4|^6.0
- symfony/uid: ^5.4|^6.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