{"id":14983864,"url":"https://github.com/phauthentic/correlation-id-symfony-bundle","last_synced_at":"2025-04-10T19:42:13.974Z","repository":{"id":230041113,"uuid":"778310323","full_name":"Phauthentic/correlation-id-symfony-bundle","owner":"Phauthentic","description":"A correlation ID integration for Symfony apps","archived":false,"fork":false,"pushed_at":"2024-04-01T22:17:38.000Z","size":36,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T00:01:31.550Z","etag":null,"topics":["correlation-id","microservices","php","php8","symfony","symfony-bundle","traceability"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Phauthentic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-27T13:38:17.000Z","updated_at":"2024-07-30T14:31:12.000Z","dependencies_parsed_at":"2024-09-24T15:26:14.041Z","dependency_job_id":"b15f19b0-2dc2-4294-90b7-4817bbc4b9f9","html_url":"https://github.com/Phauthentic/correlation-id-symfony-bundle","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"ab3f16a09e77a16a2b4b22830b58dea56cd8d173"},"previous_names":["phauthentic/correlation-id-symfony-bundle"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phauthentic%2Fcorrelation-id-symfony-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phauthentic%2Fcorrelation-id-symfony-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phauthentic%2Fcorrelation-id-symfony-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phauthentic%2Fcorrelation-id-symfony-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Phauthentic","download_url":"https://codeload.github.com/Phauthentic/correlation-id-symfony-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281417,"owners_count":21077423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["correlation-id","microservices","php","php8","symfony","symfony-bundle","traceability"],"created_at":"2024-09-24T14:08:05.511Z","updated_at":"2025-04-10T19:42:13.954Z","avatar_url":"https://github.com/Phauthentic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Correlation ID Symfony Bundle\n\n![PHP \u003e= 8.1](https://img.shields.io/static/v1?label=PHP\u0026message=^8.1\u0026color=787CB5\u0026style=for-the-badge\u0026logo=php)\n![phpstan Level 8](https://img.shields.io/static/v1?label=phpstan\u0026message=Level%208\u0026color=%3CCOLOR%3E\u0026style=for-the-badge)\n![License: MIT](https://img.shields.io/static/v1?label=License\u0026message=MIT\u0026color=%3CCOLOR%3E\u0026style=for-the-badge)\n[![Code Quality](https://img.shields.io/scrutinizer/g/Phauthentic/correlation-id-symfony-bundle/master.svg?style=for-the-badge)](https://scrutinizer-ci.com/g/Phauthentic/correlation-id-symfony-bundle/)\n\u003c!--[![Scrutinizer Coverage](https://img.shields.io/scrutinizer/coverage/g/Phauthentic/correlation-id-symfony-bundle/master.svg?style=for-the-badge)](https://scrutinizer-ci.com/g/Phauthentic/correlation-id-symfony-bundle/)--\u003e\n\nThis is a Symfony bridge for the framework agnostic [Correlation ID library](https://github.com/Phauthentic/correlation-id).\n\n## Features\n\n* Adds the Correlation ID to the Request and Response automatically.\n  * Header names can be configured for each separately.\n* Provides a messenger stamp and middleware, that will add the CorrelationIDStamp to each message.\n\n## Installation\n\n```sh\ncomposer require phauthentic/correlation-id-symfony-bundle\n```\n\n## Configuration\n\nYou can configure three different settings to control the behavior:\n\n* `response_header_name` - The name of the response header for the ID.\n* `request_header_name` - The name of the request header for the ID.\n* `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.\n\n`config/correlation_id.yaml`:\n\n```yaml\ncorrelation_id:\n    response_header_name: 'X-Correlation-ID'\n    request_header_name: 'X-Correlation-ID'\n    pass_through: false\n```\n\n## Messenger Middleware\n\nThe messenger middleware will add the Correlation ID to your messages. Just add the middleware to your bus.\n\n## Copyright \u0026 License\n\nLicensed under the [MIT license](LICENSE).\n\nCopyright (c) [Phauthentic](https://github.com/Phauthentic) / Florian Krämer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphauthentic%2Fcorrelation-id-symfony-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphauthentic%2Fcorrelation-id-symfony-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphauthentic%2Fcorrelation-id-symfony-bundle/lists"}