Skip to content

9gag-open-source/grpc-php-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gRPC PHP client builder docker image

Docker image for generating PHP gRPC client

General usage

  1. Create a work directory ($WORK_DIR)

  2. Put all the .proto files into the directory

  3. Invoke the builder

    docker run -v $WORK_DIR:/work 9gag/grpc-php-builder
  4. PHP clients will be generated at $WORK_DIR/out

Alternative usage

Take a look at the entrypoint.sh and adapt it to your needs. This image is based on grpc/cxx and only adds the PHP gRPC plugin which is located at /var/local/git/grpc/bins/opt/grpc_php_plugin.

Reference

Releases

No releases published

Packages

No packages published

Languages