Download the PHP package limingxinleo/swoft-project without Composer
On this page you can find all versions of the php package limingxinleo/swoft-project. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download limingxinleo/swoft-project
More information about limingxinleo/swoft-project
Files in limingxinleo/swoft-project
Download limingxinleo/swoft-project
More information about limingxinleo/swoft-project
Files in limingxinleo/swoft-project
Vendor limingxinleo
Package swoft-project
Short Description Modern High performance AOP and Coroutine PHP Framework, base on Swoole 2
License Apache-2.0
Package swoft-project
Short Description Modern High performance AOP and Coroutine PHP Framework, base on Swoole 2
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package swoft-project
简介
首个基于 Swoole 原生协程的新时代 PHP 高性能协程全栈组件化框架,内置协程网络服务器及常用的协程客户端,常驻内存,不依赖传统的 PHP-FPM,全异步非阻塞 IO 实现,以类似于同步客户端的写法实现异步客户端的使用,没有复杂的异步回调,没有繁琐的 yield,有类似 Go 语言的协程、灵活的注解、强大的全局依赖注入容器、完善的服务治理、灵活强大的 AOP、标准的 PSR 规范实现等等,可以用于构建高性能的Web系统、API、中间件、基础服务等等。
- 基于 Swoole 扩展
- 内置协程 HTTP, TCP, WebSocket 网络服务器
- 强大的 AOP (面向切面编程)
- 灵活完善的注解功能
- 全局的依赖注入容器
- 基于 PSR-7 的 HTTP 消息实现
- 基于 PSR-14 的事件管理器
- 基于 PSR-15 的中间件
- 基于 PSR-16 的缓存设计
- 可扩展的高性能 RPC
- 完善的服务治理,熔断,降级,负载,注册与发现
- 数据库 ORM
- 通用连接池
- 协程 Mysql, Redis, RPC, HTTP 客户端
- 协程和同步阻塞客户端无缝自动切换
- 协程、异步任务投递
- 自定义用户进程
- RESTful 支持
- 国际化(i18n)支持
- 高性能路由
- 快速灵活的参数验证器
- 别名机制
- 强大的日志系统
- 跨平台热更新自动 Reload
文档
QQ 交流群: 548173319
环境要求
- PHP 7.0 +
- Swoole 2.1.1 +, 需开启协程和异步Redis
- Hiredis
- Composer
安装
手动安装
- Clone 项目
- 安装依赖
composer install
Composer 安装
composer create-project swoft/swoft swoft
Docker 安装
docker run -p 80:80 swoft/swoft
Docker-Compose 安装
cd swoft
docker-compose up
配置
若在执行 composer install
的时候由程序自动复制环境变量配置文件失败,则可手动复制项目根目录的 .env.example
并命名为 .env
,注意在执行 composer update
时并不会触发相关的复制操作
管理
帮助命令
HTTP Server启动
是否同时启动RPC服务器取决于.env文件配置
WebSocket Server启动
启动WebSocket服务器,可选是否同时支持http处理
RPC Server启动
启动独立的RPC服务器
更新日志
更新日志
协议
Swoft 的开源协议为 Apache-2.0,详情参见LICENSE
All versions of swoft-project with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
ext-swoole Version >=2.1
swoft/framework Version ~1.0
swoft/rpc Version ~1.0
swoft/rpc-server Version ~1.0
swoft/rpc-client Version ~1.0
swoft/http-server Version ~1.0
swoft/http-client Version ~1.0
swoft/websocket-server Version ~1.0
swoft/task Version ~1.0
swoft/http-message Version ~1.0
swoft/view Version ~1.0
swoft/db Version ~1.1
swoft/cache Version ~1.0
swoft/redis Version ~1.0
swoft/console Version ~1.0
swoft/devtool Version ~1.0
swoft/session Version ~1.0
swoft/i18n Version ~1.0
swoft/process Version ~1.0
swoft/memory Version ~1.0
swoft/service-governance Version ~1.0
limingxinleo/swoft-trait-instance Version ^1.0
limingxinleo/swoft-constants Version ^1.1
limingxinleo/x-swoole-queue Version ^1.2
limingxinleo/swoft-aop-cacheable Version ^1.1
limingxinleo/swoft-entity-cache Version ^1.3.4
limingxinleo/swoft-entity-event Version ^1.1
limingxinleo/swoft-rpc Version ^1.0
hiqdev/composer-config-plugin Version ^0.2.5
ext-swoole Version >=2.1
swoft/framework Version ~1.0
swoft/rpc Version ~1.0
swoft/rpc-server Version ~1.0
swoft/rpc-client Version ~1.0
swoft/http-server Version ~1.0
swoft/http-client Version ~1.0
swoft/websocket-server Version ~1.0
swoft/task Version ~1.0
swoft/http-message Version ~1.0
swoft/view Version ~1.0
swoft/db Version ~1.1
swoft/cache Version ~1.0
swoft/redis Version ~1.0
swoft/console Version ~1.0
swoft/devtool Version ~1.0
swoft/session Version ~1.0
swoft/i18n Version ~1.0
swoft/process Version ~1.0
swoft/memory Version ~1.0
swoft/service-governance Version ~1.0
limingxinleo/swoft-trait-instance Version ^1.0
limingxinleo/swoft-constants Version ^1.1
limingxinleo/x-swoole-queue Version ^1.2
limingxinleo/swoft-aop-cacheable Version ^1.1
limingxinleo/swoft-entity-cache Version ^1.3.4
limingxinleo/swoft-entity-event Version ^1.1
limingxinleo/swoft-rpc Version ^1.0
hiqdev/composer-config-plugin Version ^0.2.5
The package limingxinleo/swoft-project contains the following files
Loading the files please wait ....