PHPackages                             cyve/phpunit-opentelemetry-extension - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. cyve/phpunit-opentelemetry-extension

ActiveLibrary[Testing &amp; Quality](/categories/testing)

cyve/phpunit-opentelemetry-extension
====================================

PHPUnit extension for test tracing

0.1.0(1y ago)012MITPHPPHP &gt;=8.1

Since Mar 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/cyve/phpunit-opentelemetry-extension)[ Packagist](https://packagist.org/packages/cyve/phpunit-opentelemetry-extension)[ RSS](/packages/cyve-phpunit-opentelemetry-extension/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

PHPUnit OpenTelemetry extension
===============================

[](#phpunit-opentelemetry-extension)

PHPUnit extension for test tracing

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

[](#installation)

```
composer require --dev cyve/phpunit-opentelemetry-extension open-telemetry/exporter-otlp
```

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

[](#configuration)

```
# phpunit.xml

```

```
# .env.test
OTEL_SERVICE_NAME=service
OTEL_EXPORTER_OTLP_PROTOCOL=http/json
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318

```

- `OTEL_SERVICE_NAME` is the name of your application
- `OTEL_EXPORTER_OTLP_PROTOCOL` is any OTEL protocol
- `OTEL_EXPORTER_OTLP_ENDPOINT` is the storage endpoint (ex: Jaeger)

Usage
-----

[](#usage)

Run PHPUnit tests as usual.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance46

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

411d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b21e3a5729c9b41d7073f00fff6b65cbfd86baa158ff415a2ee71c0da22af5b1?d=identicon)[cyve](/maintainers/cyve)

---

Top Contributors

[![cyve](https://avatars.githubusercontent.com/u/3588995?v=4)](https://github.com/cyve "cyve (2 commits)")

---

Tags

phpunittesttracingopentelemetryotel

### Embed Badge

![Health badge](/badges/cyve-phpunit-opentelemetry-extension/health.svg)

```
[![Health](https://phpackages.com/badges/cyve-phpunit-opentelemetry-extension/health.svg)](https://phpackages.com/packages/cyve-phpunit-opentelemetry-extension)
```

###  Alternatives

[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1468.1M72](/packages/ergebnis-phpunit-slow-test-detector)[ta-tikoma/phpunit-architecture-test

Methods for testing application architecture

10745.9M13](/packages/ta-tikoma-phpunit-architecture-test)[php-mock/php-mock-phpunit

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

1718.2M399](/packages/php-mock-php-mock-phpunit)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2222.9M248](/packages/open-telemetry-sdk)[open-telemetry/opentelemetry-auto-laravel

OpenTelemetry auto-instrumentation for Laravel

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

OpenTelemetry auto-instrumentation for Symfony

551.2M1](/packages/open-telemetry-opentelemetry-auto-symfony)

PHPackages © 2026

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