Download the PHP package limingxinleo/swoft-rpc without Composer
On this page you can find all versions of the php package limingxinleo/swoft-rpc. 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 swoft-rpc
swoft-rpc
用于封装常用的Breaker和ServicePool
自定义的Breaker和ServicePool需要继承当前类库进行实现。
安装
composer require limingxinleo/swoft-rpc
基本配置 app.php
return [
...
'service' => [
'default' => [
'name' => 'service',
'uri' => [
'127.0.0.1:8099',
'127.0.0.1:8099',
],
'minActive' => 8,
'maxActive' => 8,
'maxWait' => 8,
'maxWaitTime' => 3,
'maxIdleTime' => 60,
'timeout' => 8,
'useProvider' => false,
'balancer' => 'random',
'provider' => 'consul',
]
],
'breaker' => [
'default' => [
'failCount' => 3,
'successCount' => 3,
'delayTime' => 500,
],
],
'components' => [
'custom' => [
'Swoftx\\Rpc\\'
],
],
];
All versions of swoft-rpc with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
swoft/framework Version ^1.0.24
swoft/service-governance Version ^1.0
swoft/rpc-client Version ^1.0
swoft/framework Version ^1.0.24
swoft/service-governance Version ^1.0
swoft/rpc-client Version ^1.0
The package limingxinleo/swoft-rpc contains the following files
Loading the files please wait ....