Download the PHP package gyoung/eureka-sidecar without Composer
On this page you can find all versions of the php package gyoung/eureka-sidecar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gyoung/eureka-sidecar
More information about gyoung/eureka-sidecar
Files in gyoung/eureka-sidecar
Download gyoung/eureka-sidecar
More information about gyoung/eureka-sidecar
Files in gyoung/eureka-sidecar
Vendor gyoung
Package eureka-sidecar
Short Description base on swoft2.0, php eureka sidecar
License Apache-2.0
Package eureka-sidecar
Short Description base on swoft2.0, php eureka sidecar
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package eureka-sidecar
php eureka sidecar
- 基于swoft2.0.5+,简单实现php对eureka的注册,发现,心跳,调用转发等。
github
安装
- 通过composer安装
使用
基础配置
-
在config下新增sidecar.php,内容如下:
-
采用自定义进程进行健康检查和拉取服务,因此使用时需在bean.php中添加如下配置(http server为例):
-
代理服务需提供能访问的在sidecar.php中配置的 healthUri
- 正常启动swoft后就会向eureka注册,定时拉取服务实例,服务实例储存在swoole table中
Agent
- application:获取所有实例信息
- proxy:服务调用转发
All versions of eureka-sidecar with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
The package gyoung/eureka-sidecar contains the following files
Loading the files please wait ....