Download the PHP package workbunny/webman-nacos without Composer

On this page you can find all versions of the php package workbunny/webman-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 webman-nacos

workbunny

workbunny/webman-nacos

🐇 PHP implementation of Nacos OpenAPI for webman plugin. 🐇

A PHP implementation of Nacos OpenAPI for webman plugin

Build Status Latest Stable Version PHP Version Require GitHub license

Naocs插件问答帖

https://www.workerman.net/q/9134

简介

什么是Nacos?

Nacos 致力于帮助您发现、配置和管理微服务;是微服务/SOA架构体系中服务治理环节的重要成员服务;简单的可以把Nacos理解为一个配置中心和一个服务注册中心。

什么时候用Nacos?

生态

安装

composer require workbunny/webman-nacos

使用

1. Nacos文档地址

2. 服务的使用

  1. 创建连接通道

注:该方案默认使用channel.php中的连接配置,支持多通道连接,建议使用!

注:获取一个不存在的配置信息时,会抛出一个 NacosException 异常。

注:该方案默认使用app.php中的连接配置,后续会将其移除,不建议继续使用!

  1. 以监听配置举例

  2. 断开连接

配置说明:

  1. app.php 为基础配置;
  2. channel.php 为连接通道配置;
  3. process.php 为默认启动进程配置;

3. Nacos相关服务

配置相关

webman-nacos组件默认会启动一个名为 config-listener 的进程,用于监听在配置文件 plugin/workbunny/webman-nacos/app.phpconfig_listeners 下的配置内容。

如果想自行掌控调用,可以使用如下服务:

服务相关:

webman-nacos组件默认会启动一个名为 instance-registrar 的进程,用于注册在配置文件 plugin/workbunny/webman-nacos/app.phpinstance-registrar 下的配置内容。

如需动态注册实例,请使用:

注:实例与服务的区别请参看Nacos文档;

其他:

说明

其他


All versions of webman-nacos with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-json Version *
guzzlehttp/promises Version ^1.5 | ^2.0
guzzlehttp/guzzle Version ^7.4
workerman/http-client Version ^1.0 | ^2.0
monolog/monolog Version ^2.8
ext-mbstring 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 workbunny/webman-nacos contains the following files

Loading the files please wait ....