Download the PHP package phauthentic/correlation-id-bundle without Composer
On this page you can find all versions of the php package phauthentic/correlation-id-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package correlation-id-bundle
Correlation ID Symfony Bundle
This is a Symfony bridge for the framework agnostic Correlation ID library.
Features
- Adds the Correlation ID to the Request and Response automatically.
- Header names can be configured for each separately.
- Provides a messenger stamp and middleware, that will add the CorrelationIDStamp to each message.
Installation
Configuration
You can configure three different settings to control the behavior:
response_header_name
- The name of the response header for the ID.request_header_name
- The name of the request header for the ID.pass_through
- If the ID from the request should be passed to the response enable this. This is useful if you are dealing with a microservice that is not exposed to the public but gets further actions delegated from the entry point and must retain the original ID.
config/correlation_id.yaml
:
Messenger Middleware
The messenger middleware will add the Correlation ID to your messages. Just add the middleware to your bus.
Copyright & License
Licensed under the MIT license.
Copyright (c) Phauthentic / Florian Krämer
All versions of correlation-id-bundle with dependencies
PHP Build Version
Package Version
The package phauthentic/correlation-id-bundle contains the following files
Loading the files please wait ....