php-protobuf
PHP Protobuf - Google's Protocol Buffers for PHP
File Explorer
Download Latest Version (.zip)- CodeStringBuffer.php
- CommentStringBuffer.php
- Compiler.php
- DescriptorInterface.php
- EnumDescriptor.php
- EnumValueDescriptor.php
- FieldDescriptor.php
- FileDescriptor.php
- GenerationException.php
- Logger.php
- MessageDescriptor.php
- PhpGenerator.php
- CodeGeneratorRequest.php
- CodeGeneratorResponse.php
- CodeGeneratorResponse_File.php
- Version.php
- DescriptorProto.php
- DescriptorProto_ExtensionRange.php
- DescriptorProto_ReservedRange.php
- EnumDescriptorProto.php
- EnumDescriptorProto_EnumReservedRange.php
- EnumOptions.php
- EnumValueDescriptorProto.php
- EnumValueOptions.php
- ExtensionRangeOptions.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
- MethodOptions_IdempotencyLevel.php
- OneofDescriptorProto.php
- OneofOptions.php
- ServiceDescriptorProto.php
- ServiceOptions.php
- SourceCodeInfo.php
- SourceCodeInfo_Location.php
- UninterpretedOption.php
- UninterpretedOption_NamePart.php
- ProtobufMessage.php
- append_float_value.phpt
- append_int_value.phpt
- append_object_value.phpt
- append_string_value.phpt
- Bar.php
- Baz.php
- Foo.php
- parse_boolean_false.phpt
- parse_embedded.phpt
- parse_error.phpt
- parse_packed_repeated.phpt
- parse_repeated.phpt
- parse_repeated_length_delimited.phpt
- parse_repeated_obj.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
- serialize_with_missing_fields.phpt
- set_float_field.phpt
- set_int64_field.phpt
- set_int_field.phpt
- set_object_value.phpt
- set_string_field.phpt
- skipif.inc
- test.proto
- unset_field_default_values.phpt
- .gitignore
- composer.json
- composer.lock
- config.m4
- CREDITS
- LICENSE
- php_protobuf.h
- protobuf.c
- protobuf.h
- protoc-gen-php.bat
- protoc-gen-php.php
- reader.c
- reader.h
- README.md
- writer.c
- writer.h
# Installation Guide
1. Get the code
git clone https://github.com/allegro/php-protobuf
Downloads the entire project code from GitHub to your computer.
cd php-protobuf
Moves into the project folder you just downloaded.
2. PHP (Composer)
Easy RecommendedPrerequisites
composer install
Installs the PHP libraries listed in composer.json.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
