PHPackages                             sadekd/laravel-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sadekd/laravel-request-id

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

sadekd/laravel-request-id
=========================

Laravel Request ID

v1.0.1(2y ago)19.6k↑245.3%MITPHPPHP ^8.1

Since Sep 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sadekd/laravel-request-id)[ Packagist](https://packagist.org/packages/sadekd/laravel-request-id)[ RSS](/packages/sadekd-laravel-request-id/feed)WikiDiscussions main Synced 3w ago

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

Laravel Request ID (XRID)
=========================

[](#laravel-request-id-xrid)

This Laravel package to help you add [X-Request-ID](https://http.dev/x-request-id) feature into your Laravel app

> The HTTP X-Request-ID request header is an optional and unofficial HTTP header, used to trace individual HTTP requests from the client to the server and back again. It allows the client and server to correlate each HTTP request.

Installation
------------

[](#installation)

```
composer require sadekd/laravel-request-id
```

### Config

[](#config)

```
php artisan vendor:publish --provider="SadekD\LaravelRequestId\LaravelRequestIdServiceProvider"
```

Configuration is commented in the [config file](config/request-id.php)

Usage
-----

[](#usage)

Edit `App\Http\Kernel.php` and add it as middleware into any stack or use it single (overall higher is better - in case of fail, you have XRID in logs, response, etc.)

```
protected $middleware = [
    \SadekD\LaravelRequestId\Http\Middleware\RequestId::class,
     // or just 'request-id',
];
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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 ~3 days

Total

2

Last Release

1018d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6051891?v=4)[Daniel Šádek](/maintainers/sadekd)[@sadekd](https://github.com/sadekd)

---

Top Contributors

[![sadekd](https://avatars.githubusercontent.com/u/6051891?v=4)](https://github.com/sadekd "sadekd (3 commits)")

### Embed Badge

![Health badge](/badges/sadekd-laravel-request-id/health.svg)

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

###  Alternatives

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

328482.0k25](/packages/codewithdennis-filament-select-tree)[cjmellor/level-up

This package allows users to gain experience points (XP) and progress through levels by performing actions on your site. It can provide a simple way to track user progress and implement gamification elements into your application

669100.8k](/packages/cjmellor-level-up)[nativephp/desktop

NativePHP for Desktop

38133.6k8](/packages/nativephp-desktop)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

122157.7k1](/packages/stephenjude-filament-feature-flags)[stephenjude/filament-blog

Filament Blog Builder

20518.8k](/packages/stephenjude-filament-blog)[wsmallnews/filament-nestedset

Filament nestedset tree builder powered by kalnoy/nestedset with Filament v4 and v5 support

196.5k14](/packages/wsmallnews-filament-nestedset)

PHPackages © 2026

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