PHPackages                             middleware-labs/php-instrumentation-installer - 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. middleware-labs/php-instrumentation-installer

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

middleware-labs/php-instrumentation-installer
=============================================

OpenTelemetry based php auto-instrumentation installer

01PHPCI failing

Since Sep 20Pushed 1y agoCompare

[ Source](https://github.com/middleware-labs/contrib-instrumentation-installer)[ Packagist](https://packagist.org/packages/middleware-labs/php-instrumentation-installer)[ RSS](/packages/middleware-labs-php-instrumentation-installer/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Install auto instrumentation with one command.
==============================================

[](#install-auto-instrumentation-with-one-command)

This directory contains two scripts that helps install auto-instrumentation support and run application.

First script `install-otel-instrumentation` will install all needed dependencies for auto-instrumentation. Second `run-with-otel-instrumentation` is responsible for setting few environment variables (that are needed to export traces into backend) and running application.

Install script works in two modes:

- basic (will install defaults)
- advanced (interactive mode, you will control whole process)

Example workflow
----------------

[](#example-workflow)

This section shows how to install and run auto-instrumented application which uses Slim framework. To generate application, we follow steps described here: .

```
    composer create-project slim/slim-skeleton:dev-master slimauto
    cd slimauto
    composer require open-telemetry/opentelemetry-instrumentation-installer
    ./vendor/bin/install-otel-instrumentation basic beta
    ./vendor/bin/run-with-otel-instrumentation php -S localhost:8080 -t public public/index.php
```

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity17

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1130078?v=4)[Middleware](/maintainers/middleware)[@Middleware](https://github.com/Middleware)

---

Top Contributors

[![pdelewski](https://avatars.githubusercontent.com/u/102958445?v=4)](https://github.com/pdelewski "pdelewski (4 commits)")[![hardik-choksi](https://avatars.githubusercontent.com/u/163282335?v=4)](https://github.com/hardik-choksi "hardik-choksi (3 commits)")[![brettmc](https://avatars.githubusercontent.com/u/4978962?v=4)](https://github.com/brettmc "brettmc (1 commits)")[![ChrisLightfootWild](https://avatars.githubusercontent.com/u/106102472?v=4)](https://github.com/ChrisLightfootWild "ChrisLightfootWild (1 commits)")[![wadjei](https://avatars.githubusercontent.com/u/344321?v=4)](https://github.com/wadjei "wadjei (1 commits)")[![xvilo](https://avatars.githubusercontent.com/u/390769?v=4)](https://github.com/xvilo "xvilo (1 commits)")

### Embed Badge

![Health badge](/badges/middleware-labs-php-instrumentation-installer/health.svg)

```
[![Health](https://phpackages.com/badges/middleware-labs-php-instrumentation-installer/health.svg)](https://phpackages.com/packages/middleware-labs-php-instrumentation-installer)
```

###  Alternatives

[psr/log

Common interface for logging libraries

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

API for OpenTelemetry PHP.

1941.5M275](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M342](/packages/open-telemetry-sdk)

PHPackages © 2026

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