# README
GRPC-proto
Install protoc (protovol buffer) compiler
Quick start following by:
Regenerate .proto file (Golang)
cd line-oa
protoc --go_out=./go --go_opt=paths=source_relative \
--go-grpc_out=./go --go-grpc_opt=paths=source_relative \
service.proto
Regenerate .proto file (PHP)
protoc --proto_path=line-oa --php_out=line-oa/php/src --grpc_out=line-oa/php/src --plugin=protoc-gen-grpc=/home/chi2oma/protoc-21.12-linux-x86_64/bin/grpc_php_plugin ./line-oa/service.proto
Note: Install
--plugin=protoc-gen-grpc=bins/opt/grpc_php_plugin
: https://github.com/grpc/grpc/blob/v1.50.0/src/php/README.md