Download the PHP package tinywan/nacos without Composer
On this page you can find all versions of the php package tinywan/nacos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tinywan/nacos
More information about tinywan/nacos
Files in tinywan/nacos
Download tinywan/nacos
More information about tinywan/nacos
Files in tinywan/nacos
Please rate this library. Is it a good library?
Informations about the package nacos
webman nacos plugin
安装
基本用法
认证
Docker环境,添加环境变量
NACOS_AUTH_ENABLE=true
(默认该值为false)
认证成功
若用户名和密码正确,返回信息如下
认证失败
抛出 NacosAuthException
异常
配置
获取配置
发布配置
实例
注册实例
鉴权
https://nacos.io/zh-cn/docs/auth.html
OpenAPI
- 配置管理
- 服务发现
- 命名空间
Other
composer
phpstan
php-cs-fixer
Basic
__toString()
方法用于一个类被当成字符串时应怎样回应。例如 echo $obj; 应该显示些什么。警告:在 PHP 7.4.0 之前不能在 __toString() 方法中抛出异常。这么做会导致致命错误。
__invoke()
当尝试以调用函数的方式调用一个对象时,__invoke() 方法会被自动调用。__callStatic()
在静态上下文中调用一个不可访问方法时,__callStatic() 会被调用。
观察者模式
- 主题
- 观察者(订阅、取消主题)
All versions of nacos with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
workerman/webman-framework Version ^1.2.1
guzzlehttp/guzzle Version ^6.5|^7.0
ext-json Version *
workerman/webman-framework Version ^1.2.1
guzzlehttp/guzzle Version ^6.5|^7.0
ext-json Version *
The package tinywan/nacos contains the following files
Loading the files please wait ....