PHPackages                             cline/traycer - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. cline/traycer

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

cline/traycer
=============

Generate and attach tracing identifiers to Laravel request context

1.0.0(3mo ago)0751↓72%MITPHPPHP ^8.5.0CI passing

Since Feb 4Pushed 2mo agoCompare

[ Source](https://github.com/faustbrian/traycer)[ Packagist](https://packagist.org/packages/cline/traycer)[ RSS](/packages/cline-traycer/feed)WikiDiscussions 3.x Synced 2mo ago

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

[![GitHub Workflow Status](https://github.com/faustbrian/correlation/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/faustbrian/correlation/actions)[![Latest Version on Packagist](https://camo.githubusercontent.com/62fc168ae16e247e719ff7f760ab0118c06ea2ad10ae1a67d79ce4d53a995bca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c696e652f636f7272656c6174696f6e2e737667)](https://packagist.org/packages/cline/correlation)[![Software License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/8a6847352ad8ad36ed4f31ffd669ea62f1600bcf0ff44a3f79f1fbe50d97b7f4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c696e652f636f7272656c6174696f6e2e737667)](https://packagist.org/packages/cline/correlation)

---

correlation
===========

[](#correlation)

Generate and attach correlation identifiers to Laravel request context.

Requirements
------------

[](#requirements)

> **Requires [PHP 8.5+](https://php.net/releases/)**

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

[](#installation)

```
composer require cline/correlation
```

Usage
-----

[](#usage)

```
// bootstrap/app.php (Laravel 12)
->withMiddleware(function (Middleware $middleware) {
    $middleware->append(\Cline\Correlation\Http\Middleware\AddCorrelationIdentifier::class);
})
```

```
// config/correlation.php
'strategy' => 'idempotency',
'context_key' => 'correlationIdentifier',
```

The default idempotency strategy hashes `$request->json()` to produce a stable correlation identifier.

```
// Use Mint (optional) after: composer require cline/mint
'strategy' => 'mint',
'strategies' => [
    'mint' => [
        'class' => \Cline\Correlation\Strategies\MintStrategy::class,
        'type' => 'ulid',
    ],
],
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/faustbrian/correlation/security) rather than the issue queue.

Credits
-------

[](#credits)

- [Brian Faust](https://github.com/faustbrian)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance85

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

104d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22145591?v=4)[Brian Faust](/maintainers/faustbrian)[@faustbrian](https://github.com/faustbrian)

---

Top Contributors

[![faustbrian](https://avatars.githubusercontent.com/u/22145591?v=4)](https://github.com/faustbrian "faustbrian (9 commits)")

---

Tags

php

### Embed Badge

![Health badge](/badges/cline-traycer/health.svg)

```
[![Health](https://phpackages.com/badges/cline-traycer/health.svg)](https://phpackages.com/packages/cline-traycer)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[spatie/laravel-ray

Easily debug Laravel apps

31738.4M2.8k](/packages/spatie-laravel-ray)[stephenjude/filament-debugger

About

102125.4k2](/packages/stephenjude-filament-debugger)[spatie/laravel-error-solutions

Display solutions on the Laravel error page

9773.5k](/packages/spatie-laravel-error-solutions)

PHPackages © 2026

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