Download the PHP package xpx/laravel-micro-service without Composer
On this page you can find all versions of the php package xpx/laravel-micro-service. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xpx/laravel-micro-service
More information about xpx/laravel-micro-service
Files in xpx/laravel-micro-service
Download xpx/laravel-micro-service
More information about xpx/laravel-micro-service
Files in xpx/laravel-micro-service
Vendor xpx
Package laravel-micro-service
Short Description The micro service support for laravel
License MIT
Package laravel-micro-service
Short Description The micro service support for laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-micro-service
Laravel 微服务拓展包
该模块为 Laravel 提供微服务支持,实现服务中间件、熔断器、远程调用器、调度器等,
底层 RPC 使用 Hprose 实现,支持 HTTP 或 Socket 协议(推荐 HTTP),
客户端与服务端传输使用对称加密以保证数据安全
安装
拓展包尚未在 composer packagist 中发布,安装方式采用本地安装
-
请将拓展包克隆到项目的相近目录
- 将拓展包的相对路径(或绝对路径)配置到项目的 composer.json 中
该模块为 Laravel 提供微服务支持,实现服务中间件、熔断器、远程调用器、调度器等, 底层 RPC 使用 Hprose 实现,支持 HTTP 或 Socket 协议(推荐 HTTP), 客户端与服务端传输使用对称加密以保证数据安全
拓展包尚未在 composer packagist 中发布,安装方式采用本地安装
请将拓展包克隆到项目的相近目录
安装拓展包
发布配置文件
以下命令将会把配置文件 microservice.php 发布到 config 目录
设置服务中心
只有设置服务中心之后,你的服务才能正确发布到服务中心,客户端才能正确的找到服务端节点
-
设置服务中心驱动默认使用配置项 default
-
当你使用 local 驱动时,则代表服务端节点列表将在你的配置文件中读取,请根据项目环境配置好服务端节点(server_nodes)配置项
- 当你使用 remote 驱动时,则代表服务端节点列表将在服务中心获取,请根据环境配置好服务中心节点(service_center_nodes)配置项
目录
- 服务端(Server)
- 客户端(Client)
- 命令行(Command)
License
MIT
All versions of laravel-micro-service with dependencies
PHP Build Version
Package Version
The package xpx/laravel-micro-service contains the following files
Loading the files please wait ....