PHP code example of spiral / php-grpc
1. Go to this page and download the library: Download spiral/php-grpc library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
spiral / php-grpc example snippets
$ protoc --php_out=target-dir/ --php-grpc_out=target-dir/ sample.proto