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)17.3k↓72.1%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 1mo 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 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

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

971d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f664b3cb38106d8d1817e133a561cbb84be3b7f19a106a3615a411dd5559c46c?d=identicon)[sadekd](/maintainers/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

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[tonysm/rich-text-laravel

Integrates Trix content with Laravel

46577.8k1](/packages/tonysm-rich-text-laravel)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[spatie/laravel-screenshot

Take screenshots of web pages in Laravel apps

7615.9k2](/packages/spatie-laravel-screenshot)[joaopaulolndev/filament-world-clock

Show hours around the world by timezone

3111.9k](/packages/joaopaulolndev-filament-world-clock)[tonegabes/filament-better-options

Filament form components for better radio and checkbox options.

155.2k](/packages/tonegabes-filament-better-options)

PHPackages © 2026

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