laravel-hyperf-rpc / client
There is no license information available for the latest version (v1.0) of this package.
接入hyerf rpc通信
v1.0
2022-01-17 05:35 UTC
This package is not auto-updated.
Last update: 2024-04-23 15:20:02 UTC
README
执行 php artisan vendor:publish --provider="LaravelHyperfClientRpcService\RpcServiceProvider"
调用 $method = 'calculator/add'; $params = ['a' => 12, 'b' => 10]; $result = app('hyperf-rpc-client')->callRpcMethod($method, $params);