PHPackages                             seanhood/laravel-opentelemetry - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. seanhood/laravel-opentelemetry

AbandonedArchivedLibrary[Logging &amp; Monitoring](/categories/logging)

seanhood/laravel-opentelemetry
==============================

Laravel middleware to send events to OpenTelemetry

101.0k8[1 issues](https://github.com/SeanHood/laravel-opentelemetry/issues)PHP

Since Mar 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/SeanHood/laravel-opentelemetry)[ Packagist](https://packagist.org/packages/seanhood/laravel-opentelemetry)[ RSS](/packages/seanhood-laravel-opentelemetry/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-opentelemetry
=====================

[](#laravel-opentelemetry)

**Note**: OpenTelemetry is currently alpha/pre-release. This helper library is pre-pre-alpha.

Laravel OpenTelemetry helps integrate OpenTelemetry Traces into your Laravel application.

### Requirements

[](#requirements)

- Laravel 5+
- OpenTelemetry Collector w/ ZipKin

### Features

[](#features)

- Request attributes: Path, URL, Method, Secure, Client IP, UserAgent, Status

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

[](#installation)

```
composer require seanhood/laravel-opentelemetry

```

### Add the Middleware to your application

[](#add-the-middleware-to-your-application)

```
// app/Http/Kernel.php

protected $middleware = [
    ...
    \SeanHood\LaravelOpenTelemetry\Middleware\Trace::class
];
```

Config
------

[](#config)

### Publish config to config/laravel\_opentelemetry.php

[](#publish-config-to-configlaravel_opentelemetryphp)

```
php artisan vendor:publish --provider="SeanHood\LaravelOpenTelemetry\LaravelOpenTelemetryServiceProvider"

```

### The basic options are:

[](#the-basic-options-are)

- `'enable' => true`: Whether to enable LaravelOpenTelemetry
- `'zipkin_endpoint' => 'http://localhost:9411/api/v2/spans'`: Zipkin Endpoint to send spans to.
- `'service_name' => 'laravel-otel'`: The name of your application as you'd like to identify it in your traces.

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 79.2% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/135392?v=4)[Sean Hood](/maintainers/seanhood)[@SeanHood](https://github.com/SeanHood)

---

Top Contributors

[![BnMcG](https://avatars.githubusercontent.com/u/2544180?v=4)](https://github.com/BnMcG "BnMcG (19 commits)")[![SeanHood](https://avatars.githubusercontent.com/u/135392?v=4)](https://github.com/SeanHood "SeanHood (4 commits)")[![prondubuisi](https://avatars.githubusercontent.com/u/22311928?v=4)](https://github.com/prondubuisi "prondubuisi (1 commits)")

---

Tags

laravellaravel-packageopentelemetry

### Embed Badge

![Health badge](/badges/seanhood-laravel-opentelemetry/health.svg)

```
[![Health](https://phpackages.com/badges/seanhood-laravel-opentelemetry/health.svg)](https://phpackages.com/packages/seanhood-laravel-opentelemetry)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B12.7k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

2044.7M350](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2430.8M431](/packages/open-telemetry-sdk)

PHPackages © 2026

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