What are the avaliable libraries for using protobuf in PHP?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Protocol_Buffer_for_PHP
Last updated in May 2009
Implementing the Google “Protocol Buffer” for PHP, include parsing …
Issue list: http://code.google.com/p/pb4php/issues/list
Protobuf-PHP
Last updated in April 2011
Protobuf for PHP is an implementation of Google’s Protocol Buffers for the PHP language, supporting its binary data serialization and including a protoc plugin to generate PHP classes from .proto files.
Great effort has been put into generating PHP files that include all sort of type hints to aide IDE’s with autocompletion. Therefore, it can not only be used to communicate with Protocol Buffers services but also as a generation tool for data objects no matter what the final serialization is.
Example:
protoc-gen-php
Last updated December 05, 2010
This is a PHP Google Protocol Buffer Generator Plugin for protoc. It generates PHP code from a .proto file.