php protobuf server client via gRPC server php server.php client php client.php if you want to compile to proto file you can run bellow code (no need for test)... protoc --php_out=./ --grpc_out=./ --plugin=protoc-gen-grpc=$(which grpc_php_plugin) helloworld.proto