Download the PHP package zxyfaxcn/nacos without Composer
On this page you can find all versions of the php package zxyfaxcn/nacos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zxyfaxcn/nacos
More information about zxyfaxcn/nacos
Files in zxyfaxcn/nacos
Download zxyfaxcn/nacos
More information about zxyfaxcn/nacos
Files in zxyfaxcn/nacos
Vendor zxyfaxcn
Package nacos
Short Description nacos php sdk with hyperf framework
License Apache-2.0
Package nacos
Short Description nacos php sdk with hyperf framework
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package nacos
nacos
Hyperf 框架下关于 Nacos 微服务的 php SDK
安装
发布配置文件
目录结构
服务与实例
BootAppConfListener.php
将在系统启动完成时自动完成实例注册
, 服务注册
如果需要在服务下线时自动注销服务, 请增加如下配置, 以监听 Shutdown
事件
获取当前实例
获取当前服务
获取一个服务的最优节点
配置中心
BootAppConfListener.php
系统启动时将拉取远程配置, 并合入hyperf
的 Config
FetchConfigProcess.php
自定义进程将监听配置, 若有更新将发送PipeMessage
到各服务worker
进程, 并合入当前进程的 Config
如果服务如下配置
系统将自动监听listenerConfig
中的配置, 并将其合并入hyperf Config
对象的指定(configAppendNode
) 节点, 可以用config('nacos_conf.***')
获取, 若没有配置 configAppendNode
项, 将会并入 Config
对象根节点.
依赖扩展
ext-json
, ext-yaml
, ext-simplexml
, ext-libxml
All versions of nacos with dependencies
PHP Build Version
Package Version
Requires
hyperf/config Version
^1.1
hyperf/event Version ^1.1
hyperf/framework Version ^1.1
hyperf/guzzle Version ^1.1
hyperf/http-server Version ^1.1
hyperf/logger Version ^1.1
hyperf/process Version ^1.1
hyperf/utils Version ^1.1
ext-json Version *
ext-yaml Version *
ext-simplexml Version *
hyperf/event Version ^1.1
hyperf/framework Version ^1.1
hyperf/guzzle Version ^1.1
hyperf/http-server Version ^1.1
hyperf/logger Version ^1.1
hyperf/process Version ^1.1
hyperf/utils Version ^1.1
ext-json Version *
ext-yaml Version *
ext-simplexml Version *
The package zxyfaxcn/nacos contains the following files
Loading the files please wait ....