Skip to content
This repository was archived by the owner on Nov 3, 2024. It is now read-only.
/ ddev-contrib Public archive

Files

Latest commit

4270a61 · May 23, 2024

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 23, 2024
Jan 4, 2021

PHP gRPC

Adds protobuf and grpc PHP modules to web-container. This allows to create clients to interact with external gRPC services.

The installation can take some minutes, because the modules are compiled during the Docker image creation.

Verify installation

The following command should print the two compiled modules.

ddev exec php -m | grep -i 'grpc\|protobuf'

Example Project

An example project can be found here: https://github.com/cmuench/grpc-demo/tree/master/examples/php

Contributed by @cmuench