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

01PHP

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 1mo 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 2% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity16

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://www.gravatar.com/avatar/ebc3e9bfe9eb106c82e5044891bc681d16459a3a282686a22f46331f946d7c0f?d=identicon)[middleware](/maintainers/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.2B9.1k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M137](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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