Download the PHP package minxinqing/rpcwsw without Composer
On this page you can find all versions of the php package minxinqing/rpcwsw. 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 rpcwsw
已放弃,如果把laravel框架作为常驻内存模式使用,内存溢出严重
rpcwsw
基于swoole扩展的rpc组件,能够轻松把laravel http接口转变成rpc服务。
依赖
swoole 1.8 +
laravel 5.1 +
安装
使用
服务端
-
服务端编写好http接口,如已写好GET接口 /news/list
-
增加config\rpcwsw.php配置文件
以上配置只是范例,所有配置参数可上 swoole官网查看
-
app\Console\Kernel.php注册命令
- server启动
客户端
-
增加config\rpcwsw.php配置文件
- 调用服务
All versions of rpcwsw with dependencies
PHP Build Version
Package Version
Requires
ext-swoole Version
>=1.8
The package minxinqing/rpcwsw contains the following files
Loading the files please wait ....