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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nacos

nacos

Hyperf 框架下关于 Nacos 微服务的 php SDK

安装

发布配置文件

目录结构

服务与实例

BootAppConfListener.php 将在系统启动完成时自动完成实例注册, 服务注册

如果需要在服务下线时自动注销服务, 请增加如下配置, 以监听 Shutdown 事件

获取当前实例

获取当前服务

获取一个服务的最优节点

配置中心

BootAppConfListener.php 系统启动时将拉取远程配置, 并合入hyperfConfig

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 *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zxyfaxcn/nacos contains the following files

Loading the files please wait ....