PHP Stubs for Chatie GRPC
Code generated by grpc_php_plugin.
This repo was generated via DevOps from @chatie/grpc
github.com/wechaty/php-grpc
pecl install grpc
pecl install protobuf
sudo yum install php72-php-pecl-grpc
sudo yum install php72-php-pecl-protobuf
composer config repo.packagist composer https://mirrors.aliyun.com/composer/
composer require wechaty/php-grpc
require dirname(__FILE__) . '/vendor/autoload.php';
$client = new \Wechaty\PuppetClient("localhost:8788", [
'credentials' => Grpc\ChannelCredentials::createInsecure()
]);
$request = new \Wechaty\Puppet\DingRequest();
list($response, $status) = $client->Ding($request)->wait();
echo sprintf("code: %s, msg: %s \n", $status->code, $status->details);
- Code & Docs © 2020-now Chunsheng Zhang <zhangchunsheng423@gmail.com>
- Code released under the Apache-2.0 License
- Docs released under Creative Commons