Skip to content

Example implementation of gRPC server and client on PHP, using framework Symfony and Roadrunner

Notifications You must be signed in to change notification settings

igancev/url-shortener

Repository files navigation

PHP gRPC Demo project "Url shortener"

This is example implementation of gRPC server and client on PHP, using framework Symfony.

This project is an addition to the article https://igancev.ru/2023-08-14-grpc-server-on-symfony

symfony + grpc = love

Run

Prepare

Install dependencies:

docker-compose build && docker-compose run rr composer i

Download Roadrunner binary:

docker-compose run rr ./vendor/bin/rr get-binary -l ./bin

Start gRPC server

docker-compose up

Run gRPC client

docker-compose exec rr bin/console shortener:shorten

Bye, bye! 🤚

About

Example implementation of gRPC server and client on PHP, using framework Symfony and Roadrunner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors