├── .gitignore ├── CREDITS ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── config.m4 ├── php_protobuf.h ├── protobuf.c ├── protobuf.h ├── protoc-gen-php.bat ├── protoc-gen-php.php ├── reader.c ├── reader.h ├── src ├── Allegro │ └── Protobuf │ │ └── Compiler │ │ ├── CodeStringBuffer.php │ │ ├── CommentStringBuffer.php │ │ ├── Compiler.php │ │ ├── DescriptorInterface.php │ │ ├── EnumDescriptor.php │ │ ├── EnumValueDescriptor.php │ │ ├── FieldDescriptor.php │ │ ├── FileDescriptor.php │ │ ├── GenerationException.php │ │ ├── Logger.php │ │ ├── MessageDescriptor.php │ │ └── PhpGenerator.php └── Google │ └── Protobuf │ ├── Compiler │ ├── CodeGeneratorRequest.php │ ├── CodeGeneratorResponse.php │ └── CodeGeneratorResponse_File.php │ ├── DescriptorProto.php │ ├── DescriptorProto_ExtensionRange.php │ ├── DescriptorProto_ReservedRange.php │ ├── EnumDescriptorProto.php │ ├── EnumOptions.php │ ├── EnumValueDescriptorProto.php │ ├── EnumValueOptions.php │ ├── FieldDescriptorProto.php │ ├── FieldDescriptorProto_Label.php │ ├── FieldDescriptorProto_Type.php │ ├── FieldOptions.php │ ├── FieldOptions_CType.php │ ├── FieldOptions_JSType.php │ ├── FileDescriptorProto.php │ ├── FileDescriptorSet.php │ ├── FileOptions.php │ ├── FileOptions_OptimizeMode.php │ ├── GeneratedCodeInfo.php │ ├── GeneratedCodeInfo_Annotation.php │ ├── MessageOptions.php │ ├── MethodDescriptorProto.php │ ├── MethodOptions.php │ ├── OneofDescriptorProto.php │ ├── ServiceDescriptorProto.php │ ├── ServiceOptions.php │ ├── SourceCodeInfo.php │ ├── SourceCodeInfo_Location.php │ ├── UninterpretedOption.php │ └── UninterpretedOption_NamePart.php ├── stubs └── ProtobufMessage.php ├── tests ├── Bar.php ├── Baz.php ├── Foo.php ├── append_float_value.phpt ├── append_int_value.phpt ├── append_object_value.phpt ├── append_string_value.phpt ├── parse_embedded.phpt ├── parse_error.phpt ├── parse_packed_repeated.phpt ├── parse_repeated.phpt ├── parse_repeated_length_delimited.phpt ├── parse_simple.phpt ├── repeated_field_accessors.phpt ├── serialize_and_parse_empty_object.phpt ├── serialize_embedded.phpt ├── serialize_error.phpt ├── serialize_packed.phpt ├── serialize_repeated.phpt ├── serialize_simple.phpt ├── set_float_field.phpt ├── set_int_field.phpt ├── set_object_value.phpt ├── set_string_field.phpt ├── skipif.inc ├── test.proto └── unset_field_default_values.phpt ├── writer.c └── writer.h /.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | -------------------------------------------------------------------------------- /CREDITS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/CREDITS -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/composer.lock -------------------------------------------------------------------------------- /config.m4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/config.m4 -------------------------------------------------------------------------------- /php_protobuf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/php_protobuf.h -------------------------------------------------------------------------------- /protobuf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/protobuf.c -------------------------------------------------------------------------------- /protobuf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/protobuf.h -------------------------------------------------------------------------------- /protoc-gen-php.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/protoc-gen-php.bat -------------------------------------------------------------------------------- /protoc-gen-php.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/protoc-gen-php.php -------------------------------------------------------------------------------- /reader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/reader.c -------------------------------------------------------------------------------- /reader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/reader.h -------------------------------------------------------------------------------- /src/Allegro/Protobuf/Compiler/CodeStringBuffer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Allegro/Protobuf/Compiler/CodeStringBuffer.php -------------------------------------------------------------------------------- /src/Allegro/Protobuf/Compiler/CommentStringBuffer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Allegro/Protobuf/Compiler/CommentStringBuffer.php -------------------------------------------------------------------------------- /src/Allegro/Protobuf/Compiler/Compiler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Allegro/Protobuf/Compiler/Compiler.php -------------------------------------------------------------------------------- /src/Allegro/Protobuf/Compiler/DescriptorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Allegro/Protobuf/Compiler/DescriptorInterface.php -------------------------------------------------------------------------------- /src/Allegro/Protobuf/Compiler/EnumDescriptor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Allegro/Protobuf/Compiler/EnumDescriptor.php -------------------------------------------------------------------------------- /src/Allegro/Protobuf/Compiler/EnumValueDescriptor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Allegro/Protobuf/Compiler/EnumValueDescriptor.php -------------------------------------------------------------------------------- /src/Allegro/Protobuf/Compiler/FieldDescriptor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Allegro/Protobuf/Compiler/FieldDescriptor.php -------------------------------------------------------------------------------- /src/Allegro/Protobuf/Compiler/FileDescriptor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Allegro/Protobuf/Compiler/FileDescriptor.php -------------------------------------------------------------------------------- /src/Allegro/Protobuf/Compiler/GenerationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Allegro/Protobuf/Compiler/GenerationException.php -------------------------------------------------------------------------------- /src/Allegro/Protobuf/Compiler/Logger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Allegro/Protobuf/Compiler/Logger.php -------------------------------------------------------------------------------- /src/Allegro/Protobuf/Compiler/MessageDescriptor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Allegro/Protobuf/Compiler/MessageDescriptor.php -------------------------------------------------------------------------------- /src/Allegro/Protobuf/Compiler/PhpGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Allegro/Protobuf/Compiler/PhpGenerator.php -------------------------------------------------------------------------------- /src/Google/Protobuf/Compiler/CodeGeneratorRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/Compiler/CodeGeneratorRequest.php -------------------------------------------------------------------------------- /src/Google/Protobuf/Compiler/CodeGeneratorResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/Compiler/CodeGeneratorResponse.php -------------------------------------------------------------------------------- /src/Google/Protobuf/Compiler/CodeGeneratorResponse_File.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/Compiler/CodeGeneratorResponse_File.php -------------------------------------------------------------------------------- /src/Google/Protobuf/DescriptorProto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/DescriptorProto.php -------------------------------------------------------------------------------- /src/Google/Protobuf/DescriptorProto_ExtensionRange.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/DescriptorProto_ExtensionRange.php -------------------------------------------------------------------------------- /src/Google/Protobuf/DescriptorProto_ReservedRange.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/DescriptorProto_ReservedRange.php -------------------------------------------------------------------------------- /src/Google/Protobuf/EnumDescriptorProto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/EnumDescriptorProto.php -------------------------------------------------------------------------------- /src/Google/Protobuf/EnumOptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/EnumOptions.php -------------------------------------------------------------------------------- /src/Google/Protobuf/EnumValueDescriptorProto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/EnumValueDescriptorProto.php -------------------------------------------------------------------------------- /src/Google/Protobuf/EnumValueOptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/EnumValueOptions.php -------------------------------------------------------------------------------- /src/Google/Protobuf/FieldDescriptorProto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/FieldDescriptorProto.php -------------------------------------------------------------------------------- /src/Google/Protobuf/FieldDescriptorProto_Label.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/FieldDescriptorProto_Label.php -------------------------------------------------------------------------------- /src/Google/Protobuf/FieldDescriptorProto_Type.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/FieldDescriptorProto_Type.php -------------------------------------------------------------------------------- /src/Google/Protobuf/FieldOptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/FieldOptions.php -------------------------------------------------------------------------------- /src/Google/Protobuf/FieldOptions_CType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/FieldOptions_CType.php -------------------------------------------------------------------------------- /src/Google/Protobuf/FieldOptions_JSType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/FieldOptions_JSType.php -------------------------------------------------------------------------------- /src/Google/Protobuf/FileDescriptorProto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/FileDescriptorProto.php -------------------------------------------------------------------------------- /src/Google/Protobuf/FileDescriptorSet.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/FileDescriptorSet.php -------------------------------------------------------------------------------- /src/Google/Protobuf/FileOptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/FileOptions.php -------------------------------------------------------------------------------- /src/Google/Protobuf/FileOptions_OptimizeMode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/FileOptions_OptimizeMode.php -------------------------------------------------------------------------------- /src/Google/Protobuf/GeneratedCodeInfo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/GeneratedCodeInfo.php -------------------------------------------------------------------------------- /src/Google/Protobuf/GeneratedCodeInfo_Annotation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/GeneratedCodeInfo_Annotation.php -------------------------------------------------------------------------------- /src/Google/Protobuf/MessageOptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/MessageOptions.php -------------------------------------------------------------------------------- /src/Google/Protobuf/MethodDescriptorProto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/MethodDescriptorProto.php -------------------------------------------------------------------------------- /src/Google/Protobuf/MethodOptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/MethodOptions.php -------------------------------------------------------------------------------- /src/Google/Protobuf/OneofDescriptorProto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/OneofDescriptorProto.php -------------------------------------------------------------------------------- /src/Google/Protobuf/ServiceDescriptorProto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/ServiceDescriptorProto.php -------------------------------------------------------------------------------- /src/Google/Protobuf/ServiceOptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/ServiceOptions.php -------------------------------------------------------------------------------- /src/Google/Protobuf/SourceCodeInfo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/SourceCodeInfo.php -------------------------------------------------------------------------------- /src/Google/Protobuf/SourceCodeInfo_Location.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/SourceCodeInfo_Location.php -------------------------------------------------------------------------------- /src/Google/Protobuf/UninterpretedOption.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/UninterpretedOption.php -------------------------------------------------------------------------------- /src/Google/Protobuf/UninterpretedOption_NamePart.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/src/Google/Protobuf/UninterpretedOption_NamePart.php -------------------------------------------------------------------------------- /stubs/ProtobufMessage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/stubs/ProtobufMessage.php -------------------------------------------------------------------------------- /tests/Bar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/Bar.php -------------------------------------------------------------------------------- /tests/Baz.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/Baz.php -------------------------------------------------------------------------------- /tests/Foo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/Foo.php -------------------------------------------------------------------------------- /tests/append_float_value.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/append_float_value.phpt -------------------------------------------------------------------------------- /tests/append_int_value.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/append_int_value.phpt -------------------------------------------------------------------------------- /tests/append_object_value.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/append_object_value.phpt -------------------------------------------------------------------------------- /tests/append_string_value.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/append_string_value.phpt -------------------------------------------------------------------------------- /tests/parse_embedded.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/parse_embedded.phpt -------------------------------------------------------------------------------- /tests/parse_error.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/parse_error.phpt -------------------------------------------------------------------------------- /tests/parse_packed_repeated.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/parse_packed_repeated.phpt -------------------------------------------------------------------------------- /tests/parse_repeated.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/parse_repeated.phpt -------------------------------------------------------------------------------- /tests/parse_repeated_length_delimited.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/parse_repeated_length_delimited.phpt -------------------------------------------------------------------------------- /tests/parse_simple.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/parse_simple.phpt -------------------------------------------------------------------------------- /tests/repeated_field_accessors.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/repeated_field_accessors.phpt -------------------------------------------------------------------------------- /tests/serialize_and_parse_empty_object.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/serialize_and_parse_empty_object.phpt -------------------------------------------------------------------------------- /tests/serialize_embedded.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/serialize_embedded.phpt -------------------------------------------------------------------------------- /tests/serialize_error.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/serialize_error.phpt -------------------------------------------------------------------------------- /tests/serialize_packed.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/serialize_packed.phpt -------------------------------------------------------------------------------- /tests/serialize_repeated.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/serialize_repeated.phpt -------------------------------------------------------------------------------- /tests/serialize_simple.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/serialize_simple.phpt -------------------------------------------------------------------------------- /tests/set_float_field.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/set_float_field.phpt -------------------------------------------------------------------------------- /tests/set_int_field.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/set_int_field.phpt -------------------------------------------------------------------------------- /tests/set_object_value.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/set_object_value.phpt -------------------------------------------------------------------------------- /tests/set_string_field.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/set_string_field.phpt -------------------------------------------------------------------------------- /tests/skipif.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/skipif.inc -------------------------------------------------------------------------------- /tests/test.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/test.proto -------------------------------------------------------------------------------- /tests/unset_field_default_values.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/tests/unset_field_default_values.phpt -------------------------------------------------------------------------------- /writer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/writer.c -------------------------------------------------------------------------------- /writer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serggp/php-protobuf/HEAD/writer.h --------------------------------------------------------------------------------