PHPackages                             lvht/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. lvht/protobuf

ActiveLibrary

lvht/protobuf
=============

proto library for PHP

v3.5.1.1(8y ago)319.9k↑275%12BSD-3-ClausePHPPHP &gt;=5.5.0

Since Jan 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/lvht/protobuf-php)[ Packagist](https://packagist.org/packages/lvht/protobuf)[ Docs](https://developers.google.com/protocol-buffers/)[ RSS](/packages/lvht-protobuf/feed)WikiDiscussions master Synced 1mo ago

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

protobuf-php
============

[](#protobuf-php)

This is a mirror for [google/protobuf](https://github.com/google/protobuf).

And features you may like:

- small package, only contain php source code
- use unicode for json\_encode
- export compiler plugin, so you can write your plugin in PHP

Please see patches from [this](https://github.com/lvht/protobuf-php/compare/b8824d322bb9ef504506d0bb0ea24095295a1dd6...19b3b02b6c36b12550237986c33ac078b03f73b0).

version
=======

[](#version)

Only mirror stable tag from the offical repo.

install
=======

[](#install)

```
composer require lvht/protobuf

```

update from upstream
====================

[](#update-from-upstream)

```
git archive v3.5.1|tar --extract -C path/to/protobuf composer.json php/src

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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 ~6 days

Total

2

Last Release

3034d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/88784a5e09bb664bce6c25a861dcf8207df61c3ac6c13805f33dc126a80e91c7?d=identicon)[lvht](/maintainers/lvht)

---

Tags

proto

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lvht-protobuf/health.svg)

```
[![Health](https://phpackages.com/badges/lvht-protobuf/health.svg)](https://phpackages.com/packages/lvht-protobuf)
```

###  Alternatives

[google/protobuf

proto library for PHP

372140.3M366](/packages/google-protobuf)

PHPackages © 2026

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