PHPackages                             nicklasw/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nicklasw/protobuf

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nicklasw/protobuf
=================

proto library for PHP

v3.1.2(9y ago)14141BSD-3-ClauseC++PHP &gt;=5.5.0

Since Sep 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/NicklasWallgren/protobuf)[ Packagist](https://packagist.org/packages/nicklasw/protobuf)[ Docs](https://developers.google.com/protocol-buffers/)[ RSS](/packages/nicklasw-protobuf/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (12)Used By (1)

Protocol Buffers - Google's data interchange format
===================================================

[](#protocol-buffers---googles-data-interchange-format)

[![Build Status](https://camo.githubusercontent.com/a4a074422d4dfc649c2c2b4ecf28f4d8829ad041ce686e0e56aef1907e02fc7b/68747470733a2f2f7472617669732d63692e6f72672f676f6f676c652f70726f746f6275662e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/google/protobuf) [![Build status](https://camo.githubusercontent.com/6f82685dfd34f573d0f213794bc476259a4c8ba0484bfa0b3d66e2314d505909/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f3733637465653675613477327275696e3f7376673d74727565)](https://ci.appveyor.com/project/protobuf/protobuf) [![Build Status](https://camo.githubusercontent.com/aebbf28a95a2ce1c5b6ac4f4c9c8d41d53d23a24993e434c499c7d61c6cf735b/68747470733a2f2f677270632d74657374696e672e61707073706f742e636f6d2f6275696c645374617475732f69636f6e3f6a6f623d70726f746f6275665f6272616e6368)](https://grpc-testing.appspot.com/job/protobuf_branch) [![Build Status](https://camo.githubusercontent.com/d31bd84488ad624fbb44ce8f4d016a1743909d5acc961c59425a8a2ef6ca1e57/68747470733a2f2f677270632d74657374696e672e61707073706f742e636f6d2f6a6f622f70726f746f6275665f6272616e63685f33322f62616467652f69636f6e)](https://grpc-testing.appspot.com/job/protobuf_branch_32) [![Build Status](https://camo.githubusercontent.com/34f2b7287beaeaf73b33f7b7bd018fc47b854990681900976fec142ec35aef20/687474703a2f2f63692e62617a656c2e696f2f6275696c645374617475732f69636f6e3f6a6f623d70726f746f627566)](http://ci.bazel.io/job/protobuf/)

Copyright 2008 Google Inc.

Overview
--------

[](#overview)

Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. You can find [protobuf's documentation on the Google Developers site](https://developers.google.com/protocol-buffers/).

This README file contains protobuf installation instructions. To install protobuf, you need to install the protocol compiler (used to compile .proto files) and the protobuf runtime for your chosen programming language.

Protocol Compiler Installation
------------------------------

[](#protocol-compiler-installation)

The protocol compiler is written in C++. If you are using C++, please follow the [C++ Installation Instructions](src/README.md) to install protoc along with the C++ runtime.

For non-C++ users, the simplest way to install the protocol compiler is to download a pre-built binary from our release page:

In the downloads section of each release, you can find pre-built binaries in zip packages: protoc-$VERSION-$PLATFORM.zip. It contains the protoc binary as well as a set of standard .proto files distributed along with protobuf.

If you are looking for an old version that is not available in the release page, check out the maven repo here:

These pre-built binaries are only provided for released versions. If you want to use the github master version at HEAD, or you need to modify protobuf code, or you are using C++, it's recommended to build your own protoc binary from source.

If you would like to build protoc binary from source, see the [C++ Installation Instructions](src/README.md).

Protobuf Runtime Installation
-----------------------------

[](#protobuf-runtime-installation)

Protobuf supports several different programming languages. For each programming language, you can find instructions in the corresponding source directory about how to install protobuf runtime for that specific language:

LanguageSourceC++ (include C++ runtime and protoc)[src](src)Java[java](java)Python[python](python)Objective-C[objectivec](objectivec)C#[csharp](csharp)JavaNano[javanano](javanano)JavaScript[js](js)Ruby[ruby](ruby)Go[golang/protobuf](https://github.com/golang/protobuf)PHP[php](php)Usage
-----

[](#usage)

The complete documentation for Protocol Buffers is available via the web at:

```
https://developers.google.com/protocol-buffers/

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~7 days

Total

6

Last Release

3473d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1784879?v=4)[NicklasWallgren](/maintainers/NicklasWallgren)[@NicklasWallgren](https://github.com/NicklasWallgren)

---

Top Contributors

[![jskeet](https://avatars.githubusercontent.com/u/17011?v=4)](https://github.com/jskeet "jskeet (564 commits)")[![xfxyjwf](https://avatars.githubusercontent.com/u/8551050?v=4)](https://github.com/xfxyjwf "xfxyjwf (498 commits)")[![csharptest](https://avatars.githubusercontent.com/u/385366?v=4)](https://github.com/csharptest "csharptest (270 commits)")[![haberman](https://avatars.githubusercontent.com/u/1270?v=4)](https://github.com/haberman "haberman (258 commits)")[![liujisi](https://avatars.githubusercontent.com/u/315593?v=4)](https://github.com/liujisi "liujisi (222 commits)")[![maxtroy](https://avatars.githubusercontent.com/u/16337072?v=4)](https://github.com/maxtroy "maxtroy (212 commits)")[![thomasvl](https://avatars.githubusercontent.com/u/5279928?v=4)](https://github.com/thomasvl "thomasvl (203 commits)")[![TeBoring](https://avatars.githubusercontent.com/u/5195749?v=4)](https://github.com/TeBoring "TeBoring (188 commits)")[![jtattermusch](https://avatars.githubusercontent.com/u/9939684?v=4)](https://github.com/jtattermusch "jtattermusch (156 commits)")[![ukirazci](https://avatars.githubusercontent.com/u/42976979?v=4)](https://github.com/ukirazci "ukirazci (88 commits)")[![cfallin](https://avatars.githubusercontent.com/u/216148?v=4)](https://github.com/cfallin "cfallin (52 commits)")[![ArnoldZokas](https://avatars.githubusercontent.com/u/159256?v=4)](https://github.com/ArnoldZokas "ArnoldZokas (49 commits)")[![anandolee](https://avatars.githubusercontent.com/u/11618033?v=4)](https://github.com/anandolee "anandolee (44 commits)")[![zhangkun83](https://avatars.githubusercontent.com/u/9053690?v=4)](https://github.com/zhangkun83 "zhangkun83 (32 commits)")[![brianduff](https://avatars.githubusercontent.com/u/401512?v=4)](https://github.com/brianduff "brianduff (31 commits)")[![tamird](https://avatars.githubusercontent.com/u/1535036?v=4)](https://github.com/tamird "tamird (30 commits)")[![tseaver](https://avatars.githubusercontent.com/u/242750?v=4)](https://github.com/tseaver "tseaver (30 commits)")[![sergiocampama](https://avatars.githubusercontent.com/u/689198?v=4)](https://github.com/sergiocampama "sergiocampama (27 commits)")[![dano](https://avatars.githubusercontent.com/u/38807?v=4)](https://github.com/dano "dano (27 commits)")[![podsvirov](https://avatars.githubusercontent.com/u/8400779?v=4)](https://github.com/podsvirov "podsvirov (24 commits)")

---

Tags

proto

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[google/protobuf

proto library for PHP

371158.5M474](/packages/google-protobuf)

PHPackages © 2026

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