Download the PHP package hetao29/php-grpc-server-protobuf without Composer
On this page you can find all versions of the php package hetao29/php-grpc-server-protobuf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-grpc-server-protobuf
php-grpc-server-protobuf
The php grpc server framework with protobuf and DO NOT use any 3rd libraries or use Swoole. Support protobuf and json request.
Architecture
mode with nginx & php-fpm (only support php client and http json request)
- gRPC Client => nginx => php-fpm => this framework => custom services => protobuf binary response
- http/https json request (content-type:application/json) => nginx => php-fpm => this framework => custom services => json response
mode with swoole (all gRPC Client and http json request)
- gRPC Client => Swoole => this framework => custom services => protobuf binary response
- http/https json request (content-type:application/json) => Swoole => this framework => custom services => json response
Usage
-
install with composer
-
use in php file, like samples/www/index.php (php-fpm mode)
- or swoole server
Write App Services
-
proto and genproto to php files
-
write gRPC Server in services dir like helloworld
-
config nginx && php-fpm
- test
All versions of php-grpc-server-protobuf with dependencies
PHP Build Version
Package Version
The package hetao29/php-grpc-server-protobuf contains the following files
Loading the files please wait ....