Download the PHP package mix/micro without Composer

On this page you can find all versions of the php package mix/micro. 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 micro

Mix Micro

与 go-micro 生态深度集成的 php 微服务开发框架

PHP microservice development framework deeply integrated with go-micro ecology

安装

要求:

概述

在很多 Swoole 框架自建微服务生态的时候,我认为微服务生态要是能与主流生态直接无缝通信可能更具有实用价值,Mix 从 V2.1 开始完全切换为单线程协程,这一特性非常适合微服务的打造,同时 Mix 一直都是 Go 风格框架,因此我决定将微服务融入 go-micro 生态,让 Mix 框架用户能与 go-micro 编写的微服务直接代码级无缝通信,并且能直接使用 go-micro 运行时工具包的网关、代理、Dashboard 等全部微服务治理基础设施,让 PHP 与 Go 能一起开发高性能微服务,取长补短。

基于以上 Mix 打造了可独立使用的 Mix Micro 同时还提供了包含大量代码的 Mix Micro Skeleton 微服务开发骨架。

支持的服务器

支持的注册中心、配置中心

支持的网关

其他微服务治理组件

使用

创建一个 gRPC 服务器

详细的 gRPC 服务编写请查看:

创建一个注册中心

创建一个配置中心

执行一个微服务

启动后会自动监听 SIGINT, SIGTERM, SIGQUIT 信号,自动优雅停止,如果想自己处理信号,传入 Micro::signal(false) 配置

执行后日志打印:

启动后的微服务可使用 Micro 工具包 API Gateway、Web Dashboard、Web Proxy 等多种微服务管理工具,也可在 PHP 代码中使用 Mix gRPC 的 Client 直接调用 go-micro 编写的微服务。

License

Apache License Version 2.0, http://www.apache.org/licenses/


All versions of micro with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
ext-swoole Version >=4.5.0
psr/log Version ~1.0
mix/runtime Version ~2.2.0
mix/micro-register Version ~2.2.0
mix/micro-config Version ~2.2.0
mix/micro-route Version ~2.2.0
mix/micro-server Version ~2.2.0
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 mix/micro contains the following files

Loading the files please wait ....