PHPackages                             open-telemetry/gen-otlp-protobuf - 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/gen-otlp-protobuf

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

open-telemetry/gen-otlp-protobuf
================================

PHP protobuf files for communication with OpenTelemetry OTLP collectors/servers.

1.9.0(7mo ago)518.3M—2.5%211Apache-2.0PHPPHP ^8.0

Since Dec 31Pushed 1mo ago4 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (29)Used By (11)

[![Releases](https://camo.githubusercontent.com/46e38a504120203bf7615645011bcf2bb834e03e8eb0bc8e0f4864c729fd5baf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72656c65617365732d707572706c65)](https://github.com/opentelemetry-php/gen-otlp-protobuf/releases)[![Source](https://camo.githubusercontent.com/4dadbefdcb5fa5843f201f1659998a55783447468f22584c8f85ba6059498145/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d67656e2d2d6f746c702d2d70726f746f6275662d677265656e)](https://github.com/open-telemetry/opentelemetry-php/tree/main/proto/otel)[![Mirror](https://camo.githubusercontent.com/baca31197de58bc5177b1d2977ae571b671df56da2d057259a6aa1828581d532/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6972726f722d6f70656e74656c656d657472792d2d7068703a67656e2d2d6f746c702d2d70726f746f6275662d626c7565)](https://github.com/opentelemetry-php/gen-otlp-protobuf)[![Latest Version](https://camo.githubusercontent.com/4c45961d48b7a7c466618ddfc30c30cecc4416719799948893fbedae726b4f0d/687474703a2f2f706f7365722e707567782e6f72672f6f70656e2d74656c656d657472792f67656e2d6f746c702d70726f746f6275662f762f756e737461626c65)](https://packagist.org/packages/open-telemetry/gen-otlp-protobuf/)[![Stable](https://camo.githubusercontent.com/f8acbfb56eb54a7d9b47478a42703704aef9e8b78c5c1ce761692ffc5b51ea13/687474703a2f2f706f7365722e707567782e6f72672f6f70656e2d74656c656d657472792f67656e2d6f746c702d70726f746f6275662f762f737461626c65)](https://packagist.org/packages/open-telemetry/gen-otlp-protobuf/)

OpenTelemetry protobuf files
============================

[](#opentelemetry-protobuf-files)

Protobuf Runtime library
------------------------

[](#protobuf-runtime-library)

OTLP exporting requires a [protobuf runtime library](https://github.com/protocolbuffers/protobuf/tree/main/php).

There exist two protobuf runtime libraries that offer the same set of APIs, allowing developers to choose the one that best suits their needs.

This package requires `google/protobuf`, which is the native implementation. It is easy to install and a good way to get started quickly.

Alternatively, and the recommended option for production is to install the Protobuf C extension for PHP. The extension makes OTLP exporting *significantly* more performant. The extension can be installed with the following command:

```
pecl install protobuf
```

The extension can be installed alongside the native library, and it will be used instead if available.

Contributing
------------

[](#contributing)

This repository is a read-only git subtree split. To contribute, please see the main [OpenTelemetry PHP monorepo](https://github.com/open-telemetry/opentelemetry-php).

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance78

Regular maintenance activity

Popularity53

Moderate usage in the ecosystem

Community30

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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

Every ~51 days

Recently: every ~88 days

Total

28

Last Release

212d ago

Major Versions

0.0.14 → 1.0.0beta12022-09-06

0.0.17 → 1.0.0beta22022-09-06

1.5.0 → 2.x-dev2025-01-15

PHP version history (2 changes)0.0.8PHP ^7.4 || ^8.0

1.2.0PHP ^8.0

### 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)

![](https://www.gravatar.com/avatar/69cffb51399d5672406e66e7abb83f547f0f75755746d1b6144ce4042429c8e1?d=identicon)[otel-php-bot](/maintainers/otel-php-bot)

![](https://www.gravatar.com/avatar/6c8d11f4cc2c4bb65832357398092369df3b5ecda1171441be8c6a75e844f97f?d=identicon)[tidal](/maintainers/tidal)

---

Top Contributors

[![brettmc](https://avatars.githubusercontent.com/u/4978962?v=4)](https://github.com/brettmc "brettmc (12 commits)")[![Nevay](https://avatars.githubusercontent.com/u/22509671?v=4)](https://github.com/Nevay "Nevay (2 commits)")[![tidal](https://avatars.githubusercontent.com/u/57825?v=4)](https://github.com/tidal "tidal (2 commits)")[![xvilo](https://avatars.githubusercontent.com/u/390769?v=4)](https://github.com/xvilo "xvilo (1 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (1 commits)")[![pieterocp](https://avatars.githubusercontent.com/u/68863060?v=4)](https://github.com/pieterocp "pieterocp (1 commits)")[![stickeegreg](https://avatars.githubusercontent.com/u/48593081?v=4)](https://github.com/stickeegreg "stickeegreg (1 commits)")

---

Tags

loggingMetricsapmtracingopentelemetryotelgRPCotlpprotobuf

### Embed Badge

![Health badge](/badges/open-telemetry-gen-otlp-protobuf/health.svg)

```
[![Health](https://phpackages.com/badges/open-telemetry-gen-otlp-protobuf/health.svg)](https://phpackages.com/packages/open-telemetry-gen-otlp-protobuf)
```

###  Alternatives

[open-telemetry/api

API for OpenTelemetry PHP.

1933.0M214](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2322.9M248](/packages/open-telemetry-sdk)[friendsofopentelemetry/opentelemetry-bundle

Traces, metrics, and logs instrumentation within your Symfony application

638.6k](/packages/friendsofopentelemetry-opentelemetry-bundle)[worldia/instrumentation-bundle

Symfony opentelemetry auto-instrumentation: requests, commands, messenger, doctrine.

2769.8k](/packages/worldia-instrumentation-bundle)

PHPackages © 2026

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