PHPackages                             eonx-com/easy-request-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. eonx-com/easy-request-id

ActiveSymfony-bundle

eonx-com/easy-request-id
========================

Uniquely identify each request across multiple projects

6.20.1(1mo ago)1107.3k↓13.3%MITPHPPHP ^8.2

Since Sep 23Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/eonx-com/easy-request-id)[ Packagist](https://packagist.org/packages/eonx-com/easy-request-id)[ RSS](/packages/eonx-com-easy-request-id/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (18)Versions (441)Used By (0)

\---eonx\_docs--- title: Introduction weight: 0 ---eonx\_docs---

Microservices infrastructures are common, one request can involve N different applications sending requests to each other, and it can be hard to link events occurring across them. This package objective is to create a standard way in PHP projects to resolve/share IDs across projects so linking requests becomes easier!

It is based on 2 different IDs:

- **request\_id:** ID of request specific to each project
- **correlation\_id:** shared ID across projects for the same initial request

On the top of resolving those IDs for you, this package also comes with integrations to different packages to automatically include those IDs in your:

- **bugsnag notifications:** using [EasyBugsnag](https://packages.eonx.com/packages/easy-bugsnag/)
- **error responses:** using [EasyErrorHandler](https://packages.eonx.com/packages/easy-error-handler/)
- **logs:** using [EasyLogging](https://packages.eonx.com/packages/easy-error-logging/)
- **webhooks:** using [EasyWebhook](https://packages.eonx.com/packages/easy-webhook/)

### Dependencies

[](#dependencies)

This package has dependencies on the following packages, please see their documentation directly:

- [EasyRandom](https://packages.eonx.com/packages/easy-random/)

### Require package (Composer)

[](#require-package-composer)

The recommended way to install this package is to use [Composer](https://getcomposer.org/):

```
$ composer require eonx-com/easy-request-id
```

### Usage

[](#usage)

This package is based on a single service providing the requestId and correlationId anywhere you need them:

```
// src/Controller/MyController.php

namespace App\Controller;

use EonX\EasyRequestId\Common\Provider\RequestIdProviderInterface;

final class MyController
{
    public function __construct(private RequestIdProviderInterface $requestIdProvider)
    {
    }

    public function __invoke()
    {
        $requestId = $this->requestIdProvider->getRequestId();
        $correlationId = $this->requestIdProvider->getCorrelationId();

        // Use the IDs in your logic...
    }
}
```

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 72.3% 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 ~4 days

Total

431

Last Release

54d ago

Major Versions

4.5.4 → 5.6.102023-11-23

4.5.5 → 5.6.112023-11-26

5.13.1 → 6.x-dev2024-08-15

4.5.6 → 6.0.12024-09-24

4.5.8 → 6.8.02025-02-20

PHP version history (4 changes)v2.5.0PHP ^7.2

3.4.0PHP ^7.2 || ^8.0

4.0.1PHP ^8.1

6.x-devPHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6a35b20deec24986ee5baf0b9597829cb7fddc6f27188fd41fef91864877022?d=identicon)[eonx](/maintainers/eonx)

---

Top Contributors

[![natepage](https://avatars.githubusercontent.com/u/11576446?v=4)](https://github.com/natepage "natepage (609 commits)")[![roman-eonx](https://avatars.githubusercontent.com/u/48544017?v=4)](https://github.com/roman-eonx "roman-eonx (158 commits)")[![alexndlm](https://avatars.githubusercontent.com/u/6824784?v=4)](https://github.com/alexndlm "alexndlm (41 commits)")[![itorgov](https://avatars.githubusercontent.com/u/1703419?v=4)](https://github.com/itorgov "itorgov (26 commits)")[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (3 commits)")[![ERuban](https://avatars.githubusercontent.com/u/13186130?v=4)](https://github.com/ERuban "ERuban (2 commits)")[![BOB41K1987](https://avatars.githubusercontent.com/u/20467102?v=4)](https://github.com/BOB41K1987 "BOB41K1987 (2 commits)")[![voodooism](https://avatars.githubusercontent.com/u/31572316?v=4)](https://github.com/voodooism "voodooism (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eonx-com-easy-request-id/health.svg)

```
[![Health](https://phpackages.com/badges/eonx-com-easy-request-id/health.svg)](https://phpackages.com/packages/eonx-com-easy-request-id)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

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