avariya / request-id-bundle
Adding request id to project flow
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Type:symfony-bundle
Requires
- qandidate/stack-request-id: ^1.0
- symfony/expression-language: ^3.3|^4.0
- symfony/framework-bundle: ^3.3|^4.0
- symfony/yaml: ^3.3|^4.0
Requires (Dev)
- csa/guzzle-bundle: ^2.0
- pdepend/pdepend: ^2.5
- php-coveralls/php-coveralls: ^1.0
- phploc/phploc: ^4.0
- phpmd/phpmd: ^2.6
- phpstan/phpstan: ^0.8
- phpunit/phpunit: ^6.1
- sebastian/phpcpd: ^3.0
- squizlabs/php_codesniffer: ^2.6
- symfony/monolog-bundle: ^2.0|^3.0
- symfony/phpunit-bridge: ^3.3|^4.0
Suggests
- csa/guzzle-bundle: Pass request id to all called services
- symfony/monolog-bundle: Log request id
This package is not auto-updated.
Last update: 2024-11-10 06:28:05 UTC
README
Installation
Change composer.json
Require bundle:
composer require avariya/request-id-bundle
Add bundle to AppKernel:
new \Avariya\RequestIdBundle\AvariyaRequestIdBundle(),
Add configuration (optional)
Default values:
avariya_request_id:
monolog_support: true
kernel_subscriber: true
header: X-Request-Id
guzzle_middleware:
guzzle_tag: csa_guzzle.middleware
or:
avariya_request_id:
monolog_support: false
kernel_subscriber: false
guzzle_middleware: false