2017 © Pedro Peláez
 

library protobuf

image

google/protobuf

  • Monday, July 30, 2018
  • by stanley-cheung
  • Repository
  • 1876 Watchers
  • 27955 Stars
  • 790,876 Installations
  • C++
  • 52 Dependents
  • 4 Suggesters
  • 7820 Forks
  • 424 Open issues
  • 89 Versions
  • 35 % Grown

The README.md

Protocol Buffers - Google's data interchange format

OpenSSF Scorecard, (*1)

Copyright 2023 Google LLC, (*2)

Overview

Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. You can learn more about it in protobuf's documentation., (*3)

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., (*4)

Working With Protobuf Source Code

Most users will find working from supported releases to be the easiest path., (*5)

If you choose to work from the head revision of the main branch your build will occasionally be broken by source-incompatible changes and insufficiently-tested (and therefore broken) behavior., (*6)

If you are using C++ or otherwise need to build protobuf from source as a part of your project, you should pin to a release commit on a release branch., (*7)

This is because even release branches can experience some instability in between release commits., (*8)

Protobuf Compiler Installation

The protobuf compiler is written in C++. If you are using C++, please follow the C++ Installation Instructions to install protoc along with the C++ runtime., (*9)

For non-C++ users, the simplest way to install the protocol compiler is to download a pre-built binary from our GitHub release page., (*10)

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., (*11)

If you are looking for an old version that is not available in the release page, check out the Maven repository., (*12)

These pre-built binaries are only provided for released versions. If you want to use the github main 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., (*13)

If you would like to build protoc binary from source, see the C++ Installation Instructions., (*14)

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:, (*15)

Language Source
C++ (include C++ runtime and protoc) src
Java java
Python python
Objective-C objectivec
C# csharp
Ruby ruby
Go protocolbuffers/protobuf-go
PHP php
Dart dart-lang/protobuf
JavaScript protocolbuffers/protobuf-javascript

Quick Start

The best way to learn how to use protobuf is to follow the tutorials in our developer guide., (*16)

If you want to learn from code examples, take a look at the examples in the examples directory., (*17)

Documentation

The complete documentation is available at the Protocol Buffers doc site., (*18)

Support Policy

Read about our version support policy to stay current on support timeframes for the language libraries., (*19)

Developer Community

To be alerted to upcoming changes in Protocol Buffers and connect with protobuf developers and users, join the Google Group., (*20)

The Versions

30/07 2018

dev-3.0.0-pre

dev-3.0.0-pre

  Sources   Download

30/07 2018

dev-jsbinsplit

dev-jsbinsplit

  Sources   Download

30/07 2018

3.0.x-dev

3.0.9999999.9999999-dev

  Sources   Download

30/07 2018

dev-3.0.0-beta-3

dev-3.0.0-beta-3

  Sources   Download

30/07 2018

dev-3.0.0-beta-4

dev-3.0.0-beta-4

  Sources   Download

30/07 2018

2.7.0.x-dev

2.7.0.9999999-dev

  Sources   Download

30/07 2018

dev-package-json

dev-package-json

  Sources   Download

30/07 2018

dev-test_jenkins

dev-test_jenkins

  Sources   Download

30/07 2018

dev-objc-framework-fix

dev-objc-framework-fix

  Sources   Download

28/07 2018

dev-aarch64-build

dev-aarch64-build https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

27/07 2018

3.6.x-dev

3.6.9999999.9999999-dev https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

27/07 2018

dev-master

9999999-dev https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

19/07 2018

3.5.x-dev

3.5.9999999.9999999-dev https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

21/06 2018

dev-csharp3.6.0

dev-csharp3.6.0 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

19/06 2018

dev-php-generated-dev

dev-php-generated-dev https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

19/06 2018

dev-issuetemplates

dev-issuetemplates https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

15/06 2018

dev-kokoro-osx

dev-kokoro-osx https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

08/06 2018

v3.6.0.1

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

06/06 2018

v3.6.0

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

30/05 2018

v3.6.0rc2

3.6.0.0-RC2 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

24/05 2018

v3.6.0rc1

3.6.0.0-RC1 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

07/05 2018

dev-python_deps

dev-python_deps https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

01/05 2018

dev-integrate_base

dev-integrate_base

  Sources   Download

01/05 2018

dev-csharp_remove_beta_notice

dev-csharp_remove_beta_notice

  Sources   Download

01/05 2018

dev-integrate

dev-integrate

  Sources   Download

01/05 2018

dev-test_jenkins2

dev-test_jenkins2

  Sources   Download

01/05 2018

dev-benchmarks

dev-benchmarks

  Sources   Download

01/05 2018

dev-rubypackagecap

dev-rubypackagecap

  Sources   Download

06/03 2018

v3.5.2

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

05/03 2018

v3.0.0-alpha-3.1

3.0.0.0-alpha3.1

  Sources   Download

05/03 2018

v3.0.0

3.0.0.0

  Sources   Download

05/03 2018

v3.0.0-alpha-1

3.0.0.0-alpha1

  Sources   Download

05/03 2018

v3.0.0-alpha-2

3.0.0.0-alpha2

  Sources   Download

05/03 2018

v3.0.0-alpha-3

3.0.0.0-alpha3

  Sources   Download

05/03 2018

v2.6.1

2.6.1.0

  Sources   Download

05/03 2018

v2.6.1rc1

2.6.1.0-RC1

  Sources   Download

05/03 2018

v3.0.0-beta-3.3

3.0.0.0-beta3.3

  Sources   Download

05/03 2018

v3.0.0-beta-4

3.0.0.0-beta4

  Sources   Download

05/03 2018

v3.0.2

3.0.2.0

  Sources   Download

05/03 2018

v2.5.0

2.5.0.0

  Sources   Download

05/03 2018

v2.6.0

2.6.0.0

  Sources   Download

05/03 2018

v3.0.0-beta-3.1

3.0.0.0-beta3.1

  Sources   Download

05/03 2018

v3.0.0-beta-3.2

3.0.0.0-beta3.2

  Sources   Download

05/03 2018

v2.4.1

2.4.1.0

  Sources   Download

05/03 2018

v3.0.0-beta-1

3.0.0.0-beta1

  Sources   Download

05/03 2018

v3.0.0-beta-1.1

3.0.0.0-beta1.1

  Sources   Download

05/03 2018

v3.0.0-beta-2

3.0.0.0-beta2

  Sources   Download

05/03 2018

v3.0.0-beta-3

3.0.0.0-beta3

  Sources   Download

05/03 2018

v3.0.0-alpha-4

3.0.0.0-alpha4

  Sources   Download

05/03 2018

v3.0.0-alpha-4.1

3.0.0.0-alpha4.1

  Sources   Download

07/02 2018

dev-cython_protobuf

dev-cython_protobuf https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

31/01 2018

dev-Cython

dev-Cython https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

05/01 2018

3.5.1.1-dev

3.5.1.1-dev https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

05/01 2018

v3.5.1.1

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

21/12 2017

v3.5.1

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

20/12 2017

dev-jieluo

dev-jieluo https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

06/12 2017

3.5.0.1-dev

3.5.0.1-dev https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

06/12 2017

v3.5.0.1

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

27/11 2017

dev-anandolee-patch-1

dev-anandolee-patch-1 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

13/11 2017

v3.5.0

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

20/10 2017

3.4.x-dev

3.4.9999999.9999999-dev https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

14/09 2017

v3.4.1

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

13/09 2017

dev-revert-3604-3.4.x

dev-revert-3604-3.4.x https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

16/08 2017

v3.4.0

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

12/08 2017

v3.4.0rc3

3.4.0.0-RC3 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

10/08 2017

v3.4.0rc2

3.4.0.0-RC2 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

07/08 2017

v3.4.0rc1

3.4.0.0-RC1 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

22/06 2017

3.3.x-dev

3.3.9999999.9999999-dev https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

22/06 2017

v3.3.2

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

19/06 2017

dev-javalite

dev-javalite

  Sources   Download

13/05 2017

v3.3.1

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

27/04 2017

v3.3.0

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

24/04 2017

v3.3.0rc1

3.3.0.0-RC1 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

04/04 2017

3.2.x-dev

3.2.9999999.9999999-dev https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

04/04 2017

v3.2.1

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

31/03 2017

dev-down

dev-down https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

31/03 2017

dev-xiaofeng

dev-xiaofeng https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

28/01 2017

v3.2.0

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

28/01 2017

v3.2.0-alpha-1

3.2.0.0-alpha1 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

19/01 2017

v3.2.0rc2

3.2.0.0-RC2 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

12/01 2017

dev-javabench

dev-javabench https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

11/01 2017

v3.2.0-rc.1

3.2.0.0-RC1 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

29/11 2016

3.1.x-dev

3.1.9999999.9999999-dev https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

01/10 2016

dev-java_experimental

dev-java_experimental https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

26/09 2016

dev-jtattermusch-patch-2

dev-jtattermusch-patch-2 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

24/09 2016

v3.1.0

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

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

24/09 2016

v3.1.0-alpha-1

3.1.0.0-alpha1 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

22/09 2016

dev-jtattermusch-patch-1

dev-jtattermusch-patch-1 https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto

19/09 2016

dev-revert-2138-extension_tweak_to_3_1_branch

dev-revert-2138-extension_tweak_to_3_1_branch https://developers.google.com/protocol-buffers/

proto library for PHP

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

proto