PHPackages                             open-telemetry/opentelemetry-php-contrib - 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. open-telemetry/opentelemetry-php-contrib

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

open-telemetry/opentelemetry-php-contrib
========================================

The contributor repo for opentelemetry-php

1.0.0beta2(3y ago)10436.5k↓13.1%130[26 PRs](https://github.com/open-telemetry/opentelemetry-php-contrib/pulls)Apache-2.0PHPPHP ^7.4 || ^8.0CI passing

Since Nov 10Pushed 1mo ago17 watchersCompare

[ Source](https://github.com/open-telemetry/opentelemetry-php-contrib)[ Packagist](https://packagist.org/packages/open-telemetry/opentelemetry-php-contrib)[ RSS](/packages/open-telemetry-opentelemetry-php-contrib/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (34)Used By (0)

OpenTelemetry php contrib library
=================================

[](#opentelemetry-php-contrib-library)

[![CI Build](https://github.com/open-telemetry/opentelemetry-php-contrib/workflows/PHP%20QA/badge.svg)](https://github.com/open-telemetry/opentelemetry-php-contrib/workflows/PHP%20QA/badge.svg)[![codecov](https://camo.githubusercontent.com/d2e95ee2b37ac4fe5c7e7dda078146119d8ec0539ec0cf38b59fa7676bb6dd91/68747470733a2f2f636f6465636f762e696f2f67682f6f70656e2d74656c656d657472792f6f70656e74656c656d657472792d7068702d636f6e747269622f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/open-telemetry/opentelemetry-php-contrib)

Current Project Status
----------------------

[](#current-project-status)

For more information, please, consult the documentation of the main [OpenTelemetry PHP project](https://github.com/open-telemetry/opentelemetry-php).

Issues
------

[](#issues)

Issues have been disabled for this repo in order to help maintain consistency between this repo and the main [opentelemetry-php](https://github.com/open-telemetry/opentelemetry-php) repo. If you have an issue you'd like to raise about this issue, please use the [OpenTelemetry PHP Issue section](https://github.com/open-telemetry/opentelemetry-php/issues/new/choose). Please prefix the title of the issue with \[opentelemetry-php-contrib\].

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

[](#installation)

### Install individual packages:

[](#install-individual-packages)

(This is the recommended way to install the components)

Refer to the documentation for the individual components on how to install them

- [AWS](/src/Aws/README.md)
- [Symfony SdkBundle](/src/Symfony/README.md)

Usage/Examples
--------------

[](#usageexamples)

### Auto-instrumentation

[](#auto-instrumentation)

Auto-instrumentation requires the [ext-opentelemetry](https://pecl.php.net/package/opentelemetry) PHP extension, and the installation of one or more packages from [src/Instrumentation](./src/Instrumentation)

### AWS

[](#aws)

- You can find examples on how to use the AWS classes in the [examples directory](/examples/aws/README.md).

### Symfony

[](#symfony)

#### SdkBundle

[](#sdkbundle)

- The documentation for the Symfony SdkBundle can be found [here](/src/Symfony/README.md).
- An example Symfony application using the SdkBundle can be found [here](https://github.com/opentelemetry-php/otel-sdk-bundle-example-sf5).

### Swoole

[](#swoole)

- The documentation for the Swoole context can be found [here](/src/Context/Swoole/README.md).

### Yii

[](#yii)

- The documentation for Yii framework can be found [here](/src/Instrumentation/Yii/README.md).

Development
-----------

[](#development)

Please, consult the documentation of the main [OpenTelemetry PHP project](https://github.com/open-telemetry/opentelemetry-php).

### Subprojects

[](#subprojects)

This repository is organized into multiple separate sub-projects, under `/src`. Please remember to run all tests as you develop, the makefile supports a `PROJECTS` variable, which corresponds to the path of the project (relative to `src/`), eg

```
$ PROJECT=Symfony PHP_VERSION=8.1 make all

```

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance59

Moderate activity, may be stable

Popularity48

Moderate usage in the ecosystem

Community33

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor4

4 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 ~38 days

Total

13

Last Release

1190d ago

Major Versions

0.0.17 → 1.0.0beta12022-12-12

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4978962?v=4)[Brett McBride](/maintainers/brettmc)[@brettmc](https://github.com/brettmc)

![](https://avatars.githubusercontent.com/u/4099109?v=4)[Bob Strecansky](/maintainers/bobstrecansky)[@bobstrecansky](https://github.com/bobstrecansky)

---

Top Contributors

[![tidal](https://avatars.githubusercontent.com/u/57825?v=4)](https://github.com/tidal "tidal (130 commits)")[![brettmc](https://avatars.githubusercontent.com/u/4978962?v=4)](https://github.com/brettmc "brettmc (106 commits)")[![bobstrecansky](https://avatars.githubusercontent.com/u/4099109?v=4)](https://github.com/bobstrecansky "bobstrecansky (37 commits)")[![cedricziel](https://avatars.githubusercontent.com/u/418970?v=4)](https://github.com/cedricziel "cedricziel (28 commits)")[![carolabadeer](https://avatars.githubusercontent.com/u/60774943?v=4)](https://github.com/carolabadeer "carolabadeer (28 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (25 commits)")[![pdelewski](https://avatars.githubusercontent.com/u/102958445?v=4)](https://github.com/pdelewski "pdelewski (24 commits)")[![mtk3d](https://avatars.githubusercontent.com/u/12657846?v=4)](https://github.com/mtk3d "mtk3d (21 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (20 commits)")[![ohamuy](https://avatars.githubusercontent.com/u/46689344?v=4)](https://github.com/ohamuy "ohamuy (19 commits)")[![weslenteche](https://avatars.githubusercontent.com/u/54692047?v=4)](https://github.com/weslenteche "weslenteche (16 commits)")[![ChrisLightfootWild](https://avatars.githubusercontent.com/u/106102472?v=4)](https://github.com/ChrisLightfootWild "ChrisLightfootWild (15 commits)")[![HeenaBansal20](https://avatars.githubusercontent.com/u/139580694?v=4)](https://github.com/HeenaBansal20 "HeenaBansal20 (11 commits)")[![Nevay](https://avatars.githubusercontent.com/u/22509671?v=4)](https://github.com/Nevay "Nevay (11 commits)")[![smaddock](https://avatars.githubusercontent.com/u/524425?v=4)](https://github.com/smaddock "smaddock (10 commits)")[![agoallikmaa](https://avatars.githubusercontent.com/u/3532037?v=4)](https://github.com/agoallikmaa "agoallikmaa (9 commits)")[![xvilo](https://avatars.githubusercontent.com/u/390769?v=4)](https://github.com/xvilo "xvilo (7 commits)")[![jdalmas](https://avatars.githubusercontent.com/u/26573747?v=4)](https://github.com/jdalmas "jdalmas (6 commits)")[![intuibase](https://avatars.githubusercontent.com/u/9551626?v=4)](https://github.com/intuibase "intuibase (6 commits)")[![wadjei](https://avatars.githubusercontent.com/u/344321?v=4)](https://github.com/wadjei "wadjei (5 commits)")

### Embed Badge

![Health badge](/badges/open-telemetry-opentelemetry-php-contrib/health.svg)

```
[![Health](https://phpackages.com/badges/open-telemetry-opentelemetry-php-contrib/health.svg)](https://phpackages.com/packages/open-telemetry-opentelemetry-php-contrib)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/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.2M138](/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)[ekino/newrelic-bundle

Integrate New Relic into Symfony2

28111.2M8](/packages/ekino-newrelic-bundle)

PHPackages © 2026

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