PHPackages                             uru/opentelemetry-auto-slim-legacy - 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. uru/opentelemetry-auto-slim-legacy

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

uru/opentelemetry-auto-slim-legacy
==================================

OpenTelemetry auto-instrumentation for Slim Framework with legacy attributes support.

0.0.2(1y ago)02.0kApache-2.0PHPPHP ^8.0

Since Nov 20Pushed 1y agoCompare

[ Source](https://github.com/Uru-ruru/contrib-auto-slim-legacy)[ Packagist](https://packagist.org/packages/uru/opentelemetry-auto-slim-legacy)[ Docs](https://opentelemetry.io/docs/php)[ RSS](/packages/uru-opentelemetry-auto-slim-legacy/feed)WikiDiscussions main Synced 3w ago

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

This is a fork  with legacy attributes support.

- `http.status_code` used as copy of `http.response.status_code`;
- `http.url` used as copy of `url.full`;
- `http.method` used as copy of `http.request.method`;
- `http.user_agent` used as copy of `user_agent.original`;
- `http.scheme` used as copy of `url.scheme`;
- `http.request_content_length_uncompressed` used as copy of `http.request.body.size`;
- `http.response_content_length_uncompressed` used as copy of `http.response.body.size`;
- `http.target` added to attributes;
- `http.host` added to attributes;

Installation
============

[](#installation)

Run `composer require uru/opentelemetry-auto-slim-legacy`.

OpenTelemetry Slim Framework auto-instrumentation
=================================================

[](#opentelemetry-slim-framework-auto-instrumentation)

Please read  for instructions on how to install and configure the extension and SDK.

Overview
--------

[](#overview)

Auto-instrumentation hooks are registered via composer, and spans will automatically be created for:

- `App::handle()` - root span
- `InvocationStrategyInterface` - controller/action
- `RoutingMiddleware::performRouting` - update root span's name with either route name or pattern

Configuration
-------------

[](#configuration)

The extension can be disabled via [runtime configuration](https://opentelemetry.io/docs/instrumentation/php/sdk/#configuration):

```
OTEL_PHP_DISABLED_INSTRUMENTATIONS=slim
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

576d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e794aee3f0708e0de3a85ba64d9222c200f609c61e6960ee130469377288c0ca?d=identicon)[Uru-ruru](/maintainers/Uru-ruru)

---

Top Contributors

[![brettmc](https://avatars.githubusercontent.com/u/4978962?v=4)](https://github.com/brettmc "brettmc (11 commits)")[![weslenteche](https://avatars.githubusercontent.com/u/54692047?v=4)](https://github.com/weslenteche "weslenteche (5 commits)")[![Uru-ruru](https://avatars.githubusercontent.com/u/24267535?v=4)](https://github.com/Uru-ruru "Uru-ruru (4 commits)")[![xvilo](https://avatars.githubusercontent.com/u/390769?v=4)](https://github.com/xvilo "xvilo (4 commits)")[![agoallikmaa](https://avatars.githubusercontent.com/u/3532037?v=4)](https://github.com/agoallikmaa "agoallikmaa (2 commits)")[![pdelewski](https://avatars.githubusercontent.com/u/102958445?v=4)](https://github.com/pdelewski "pdelewski (2 commits)")[![sudol](https://avatars.githubusercontent.com/u/642693?v=4)](https://github.com/sudol "sudol (1 commits)")[![piotrantosik](https://avatars.githubusercontent.com/u/154553?v=4)](https://github.com/piotrantosik "piotrantosik (1 commits)")[![julianocosta89](https://avatars.githubusercontent.com/u/15364991?v=4)](https://github.com/julianocosta89 "julianocosta89 (1 commits)")[![ChrisLightfootWild](https://avatars.githubusercontent.com/u/106102472?v=4)](https://github.com/ChrisLightfootWild "ChrisLightfootWild (1 commits)")

---

Tags

slimtracingopentelemetryotelinstrumentationopen-telemetry

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/uru-opentelemetry-auto-slim-legacy/health.svg)

```
[![Health](https://phpackages.com/badges/uru-opentelemetry-auto-slim-legacy/health.svg)](https://phpackages.com/packages/uru-opentelemetry-auto-slim-legacy)
```

###  Alternatives

[open-telemetry/opentelemetry-auto-laravel

OpenTelemetry auto-instrumentation for Laravel

582.4M8](/packages/open-telemetry-opentelemetry-auto-laravel)[open-telemetry/opentelemetry-auto-symfony

OpenTelemetry auto-instrumentation for Symfony

561.5M3](/packages/open-telemetry-opentelemetry-auto-symfony)[open-telemetry/opentelemetry-auto-pdo

OpenTelemetry auto-instrumentation for PDO

111.5M2](/packages/open-telemetry-opentelemetry-auto-pdo)[open-telemetry/opentelemetry-auto-wordpress

OpenTelemetry auto-instrumentation for Wordpress

17194.7k](/packages/open-telemetry-opentelemetry-auto-wordpress)[shopware/opentelemetry

OpenTelemetry auto-instrumentation for Shopware

1037.0k1](/packages/shopware-opentelemetry)

PHPackages © 2026

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