php-protobuf
php-protobuf copied to clipboard
PHP Protobuf - Google's Protocol Buffers for PHP
Add support for [extensions](https://developers.google.com/protocol-buffers/docs/proto#extensions).
The official extension package does not support encoding as a binary stream. This extension also does not find the serializeToStream method.
I've been working with some data that uses 64-bit numbers lately on x86 machine, after some debugging I've noticed my values were PHP_INT_MAX. I was under impression that 64-bit integers...
I've tried protoc \ --allegrophp_opt=namespace=Foo Would you please parse the options passed by protoc to your plugin? or at least provide a way to specify namespace. I don't want to...
Here is my .proto file, as you can see there are no groups in my .proto file ``` syntax = "proto3"; message Asset { uint64 id = 1; string name...
when it'll support $messge->setFrom() method,just like the php extension: https://github.com/chobie/protoc-gen-php
I have ``` A.proto message A { message innerA { } } B.proto import "A.proto"; message B { A.innerA something = 1; // error here: Namespace A for type innerA...
if the proto file have a message defined : message foo { repeated uint64 list = 1; required uint64 list_count= 2; } ,After generates the PHP file by 'protoc-gen-php.php', the...
python have the CopyFrom method to copy all the values from another message of the same type as bar. but php assign a object to another object is not deep...
I'm using gentoo linux on a fresh updated version of PHP (didn't have PDO support which I needed for something else). ``` $ php --version PHP 5.6.24-pl0-gentoo (cli) (built: Aug...