open-telemetry / opentelemetry-php-contrib
The contributor repo for opentelemetry-php
Package info
github.com/open-telemetry/opentelemetry-php-contrib
pkg:composer/open-telemetry/opentelemetry-php-contrib
Requires
- php: ^7.4 || ^8.0
- ext-json: *
Requires (Dev)
- composer/xdebug-handler: ^2.0
- open-telemetry/dev-tools: dev-main
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-02 11:37:01 UTC
README
Current Project Status
For more information, please, consult the documentation of the main OpenTelemetry PHP project.
Projects
Each project's CI status on main. See .github/ci/README.md.
Issues
Issues have been disabled for this repo in order to help maintain consistency between this repo and the main opentelemetry-php repo. If you have an issue you'd like to raise about this issue, please use the OpenTelemetry PHP Issue section. Please prefix the title of the issue with [opentelemetry-php-contrib].
Installation
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
Usage/Examples
Auto-instrumentation
Auto-instrumentation requires the ext-opentelemetry PHP extension, and the installation of one or more packages from src/Instrumentation
AWS
- You can find examples on how to use the AWS classes in the examples directory.
Symfony
SdkBundle
- The documentation for the Symfony SdkBundle can be found here.
- An example Symfony application using the SdkBundle can be found here.
Swoole
- The documentation for the Swoole context can be found here.
Yii
- The documentation for Yii framework can be found here.
Development
Please, consult the documentation of the main OpenTelemetry PHP project.
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
make projects lists the projects. See .github/ci/README.md
for how CI tests them, and how to run the same checks locally.
Contributing
See CONTRIBUTING.md
Emeritus
- Ago Allikmaa, Approver
- Amber Sistla, Triager
- Beniamin, Triager
- Cedric Ziel, Approver
- Fahmy Mohammed, Triager
- Jodee Varney, Triager
- Kishan Sangani, Triager
- Levi Morrison, Triager
- Przemyslaw Delewski, Triager
- Timo Michna, Triager
For more information about the emeritus role, see the community repository.