All Projects → mix-php → Mix

mix-php / Mix

Licence: apache-2.0
☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server / PHP 命令行模式开发框架,支持 Swoole、WorkerMan、FPM、CLI-Server

Programming Languages

PHP
23972 projects - #3 most used programming language
go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Mix

Hyperf
🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
Stars: ✭ 4,206 (+139.93%)
Mutual labels:  microservice, grpc, coroutine, framework, swoole
Swoft Framework
[READ ONLY] Swoft Framework, base of Swoft
Stars: ✭ 70 (-96.01%)
Mutual labels:  microservice, coroutine, framework, swoole
Kratos
A modular-designed and easy-to-use microservices framework in Go.
Stars: ✭ 15,844 (+803.82%)
Mutual labels:  grpc, framework, microservice
Lile
Easily generate gRPC services in Go ⚡️
Stars: ✭ 1,271 (-27.5%)
Mutual labels:  microservice, grpc, framework
Orion
Orion is a small lightweight framework written around grpc/protobuf with the aim to shorten time to build microservices at Carousell.
Stars: ✭ 101 (-94.24%)
Mutual labels:  microservice, grpc, framework
Go Chassis
a microservice framework for rapid development of micro services in Go with rich eco-system
Stars: ✭ 2,428 (+38.51%)
Mutual labels:  microservice, grpc, framework
Swoft
🚀 PHP Microservice Full Coroutine Framework
Stars: ✭ 5,420 (+209.18%)
Mutual labels:  microservice, coroutine, swoole
S
a go web freamwork for micro service, very very easy to create and deploy, with auto service registry and discover, high performance and based on http/2 no ssl
Stars: ✭ 67 (-96.18%)
Mutual labels:  microservice, framework
Devis
A microservices framework for Node.js
Stars: ✭ 72 (-95.89%)
Mutual labels:  microservice, framework
Php Coroutine Engine
This project for php-fpm support coroutine
Stars: ✭ 74 (-95.78%)
Mutual labels:  coroutine, swoole
Ycsocket
基于swoole的socket框架,支持协程版MySQL、Redis连接池,已用于大型RPG游戏服务端
Stars: ✭ 77 (-95.61%)
Mutual labels:  coroutine, swoole
Mix Phar Skeleton
Phar command line program development skeleton
Stars: ✭ 81 (-95.38%)
Mutual labels:  console, swoole
Yii2 Swoole
full solutions making yii2-framework run on swoole with coroutine.
Stars: ✭ 86 (-95.09%)
Mutual labels:  coroutine, swoole
App
Reusable framework for micro services & command line tools
Stars: ✭ 66 (-96.24%)
Mutual labels:  grpc, framework
Swpdo
Swoole Coroutine SQL component like PDO | 0成本迁移PDO到Swoole高性能协程客户端
Stars: ✭ 64 (-96.35%)
Mutual labels:  coroutine, swoole
Freedom
Freedom是一个基于六边形架构的框架,可以支撑充血的领域模型范式。
Stars: ✭ 972 (-44.55%)
Mutual labels:  microservice, framework
Framework
The Lawoole framework
Stars: ✭ 33 (-98.12%)
Mutual labels:  framework, swoole
Zui
⬢ Zsh User Interface library – CGI+DHTML-like rapid application development with Zsh
Stars: ✭ 95 (-94.58%)
Mutual labels:  console, framework
Go Shopping
A sample suite of services built on the go-micro framework
Stars: ✭ 98 (-94.41%)
Mutual labels:  microservice, grpc
Group
轻量级框架 。实现了定时任务功能,分布式任务队列,命令行控制台,数据库脚本自动化,单元测试, rpc服务,多进程服务(模拟map-reduce)等等实用的功能!! 文档 https://fucongcong.gitbooks.io/group-doc/content/.
Stars: ✭ 122 (-93.04%)
Mutual labels:  framework, swoole

OpenMix 出品:https://openmix.org



MixPHP

Mix PHP

中文 | English

MixPHP 是一个 PHP 命令行模式开发框架;基于 Vega 驱动的 HTTP 可以同时支持 Swoole、WorkerMan、FPM、CLI-Server 生态,并且可以无缝切换;V3 是一个高度解耦的版本,整体代码基于多个独立的模块构建,即便用户不使用我们的脚手架,也可以使用这些独立模块,并且全部模块都支持原生开发。例如:你可以只使用 mix/vega 来搭配 laravel orm 使用;可以在任意环境中使用 mix/database 和 mix/redis;可以使用 mix/grpc 原生代码编写 gRPC;所有的模块你可以像搭积木一样随意组合。

独立模块

核心模块全部可独立使用,并且都支持原生代码开发。

  • mix/vega PHP 编写的 CLI 模式 HTTP 网络框架,支持 Swoole、WorkerMan、FPM、CLI-Server
  • mix/database 可在各种环境中使用的轻量数据库,支持 FPM、CLI、Swoole、WorkerMan,可选的连接池 (协程)
  • mix/redis 可在各种环境中使用的 PHP Redis,支持 FPM、CLI、Swoole、WorkerMan,可选的连接池 (协程)
  • mix/redis-subscriber 基于 Swoole 协程的 Redis 原生协议订阅库
  • mix/grpc 基于 Swoole 协程的 PHP gRPC 库,包含 protoc 代码生成器、服务器、客户端
  • mix/websocket 基于 Swoole 协程的 PHP WebSocket 服务器与客户端
  • mix/cli PHP 命令行交互指挥官
  • mix/worker-pool 基于 Swoole 的协程池、工作池库
  • mix/validator 基于 PSR-7 的验证库
  • mix/event 基于 PSR-14 标准的事件调度库
  • mix/init 帮助执行类的静态初始化,通常用于预加载单例

服务器

支持多种服务器驱动,并且可以无缝切换。

开发文档

快速开始

提供了现成的脚手架,快速创建项目,立即产出。

composer create-project --prefer-dist mix/cli-skeleton cli
composer create-project --prefer-dist mix/api-skeleton api
composer create-project --prefer-dist mix/web-skeleton web
composer create-project --prefer-dist mix/websocket-skeleton websocket
composer create-project --prefer-dist mix/grpc-skeleton grpc

性能测试

techempower-benchmark.png

web-frameworks-benchmark.png

推荐阅读

技术交流

知乎:https://www.zhihu.com/people/onanying
官方QQ群:284806582, 825122875 敲门暗号:phper

Golang 框架

OpenMix 同时还有 Golang 生态的框架

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].