s1lver / grpc-php-plugin-binary
grpc_php_plugin binary for protoc utils
Installs: 46
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Makefile
README
Binary grpc_php_plugin for protoc utils
Install
composer require s1lver/grpc-php-plugin-binary "^1.0.0"
or add
"s1lver/grpc-php-plugin-binary": "^1.0.0"
How to use
cp /your_repo/vendor/bin/grpc_php_plugin /usr/local/bin/grpc_php_plugin protoc -I . \ --php_out=your/path \ --grpc_out=your/path \ --plugin=protoc-gen-grpc=`which grpc_php_plugin` \ your/path/proto.proto
How to compile
https://github.com/grpc/grpc/tree/v1.55.0/src/php#grpc_php_plugin-protoc-plugin
git clone -b v1.53.0 https://github.com/grpc/grpc cd ./grpc/ git submodule update --init mkdir -p cmake/build cd cmake/build cmake ../.. make protoc grpc_php_plugin