PHPackages                             felixaa/correlation-id - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. felixaa/correlation-id

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

felixaa/correlation-id
======================

Package offers functionality to add correlation\_id to headers in Symfony project

v2.0(3y ago)0759↓100%MITPHPPHP &gt;=7.0

Since Jun 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Felix-aa/correlation-id)[ Packagist](https://packagist.org/packages/felixaa/correlation-id)[ RSS](/packages/felixaa-correlation-id/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

This applications is from symfony 6.0 and above, it uses "ramsey/uuid": "&gt;=4.0", and "symfony/monolog-bundle": "&gt;=3.7" to add uuid as colleration\_id to request logs if not found using CorrelationIdProcessor.php class and forward this correlation\_id to headers using CorrelationIdResponseListener class
=====================================================================================================================================================================================================================================================================================================================

[](#this-applications-is-from-symfony-60-and-above-it-uses-ramseyuuid-40-and-symfonymonolog-bundle-37-to-add-uuid-as-colleration_id-to-request-logs-if-not-found-using-correlationidprocessorphp-class-and-forward-this-correlation_id-to-headers-using-correlationidresponselistener-class)

configure service to add correlation-id in services.yaml
========================================================

[](#configure-service-to-add-correlation-id-in-servicesyaml)

services: Felixaa\\Logger\\EventListener\\CorrelationIdResponseListener: arguments: \["@request\_stack"\] tags: - {name: kernel.event\_listener, event: kernel.response, method: onKernelResponse }

```
Felixaa\Logger\Processor\CorrelationIdProcessor:
    arguments: ["@request_stack"]
    tags:
        - { name: monolog.processor, method: __invoke }

```

Configure service to add enviroment variables
=============================================

[](#configure-service-to-add-enviroment-variables)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

2

Last Release

1424d ago

Major Versions

v1.0 → v2.02022-06-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/056ce678e8a557a8bb074dafc8ac17c2d95299f8cec63dba7cde4e11007284d1?d=identicon)[Felix Ashu](/maintainers/Felix%20Ashu)

---

Top Contributors

[![Felix-aa](https://avatars.githubusercontent.com/u/97611381?v=4)](https://github.com/Felix-aa "Felix-aa (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/felixaa-correlation-id/health.svg)

```
[![Health](https://phpackages.com/badges/felixaa-correlation-id/health.svg)](https://phpackages.com/packages/felixaa-correlation-id)
```

###  Alternatives

[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k74.6k86](/packages/pocketmine-pocketmine-mp)[getdkan/dkan

DKAN Open Data Catalog

385135.4k2](/packages/getdkan-dkan)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
