PHPackages                             iflow/framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. iflow/framework

ActiveLibrary[HTTP &amp; Networking](/categories/http)

iflow/framework
===============

iflowProject iflowFramework

v0.0.1(1y ago)31671MulanPSL-2.0PHPPHP &gt;=8.1.0CI failing

Since Feb 10Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/luotianyil/iflow_framework)[ Packagist](https://packagist.org/packages/iflow/framework)[ RSS](/packages/iflow-framework/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (19)Versions (2)Used By (1)

[![Php Version](https://camo.githubusercontent.com/52c67508d37da596cd06bd916bab345fa1f9dcf7dcf2adca32af8d0af82483a2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d382e312e302d627269676874677265656e2e737667)](https://secure.php.net/)[![Swoole Version](https://camo.githubusercontent.com/82008c1edb9dba60ce6e55c5394c4b73a9c267e72eb3739593dbb7d1f8b6a1da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73776f6f6c652d2533453d352e302e782d627269676874677265656e2e737667)](https://github.com/swoole/swoole-src)[![iflow Framework Version](https://camo.githubusercontent.com/6ba125e667f2081c3f2a1c6833389e636c434196f59108dd20f9a82e96336f4f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f69666c6f775f6672616d65776f726b2d2533453d302e302e312d627269676874677265656e2e737667)](https://github.com/luotianyil/iflow_framework)[![think-orm Version](https://camo.githubusercontent.com/6dfc620f37d98394efb992d5e4ab93cd1b29f8d7c31e9891ebcf777285d3feff/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7468696e6b2f6f726d2d2533453d332e302e782d627269676874677265656e2e737667)](https://www.kancloud.cn/manual/think-orm/1257998)[![iflowFramework Doc](https://camo.githubusercontent.com/ea1431167b522b88916c717b0bfe6348328a8662a684bb128f0b0bd6d22a20d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d70617373696e672d677265656e2e7376673f6d61784167653d32353932303030)](https://www.yuque.com/youzhiyuandemao/ftorkm)

iflowFramework
==============

[](#iflowframework)

iflowFramework是基于 Php 8.0+ 和 Swoole 4.5+ 的高性能、简单易用的开发框架。支持在 Swoole Server/FPM 同时 支持 windows 上运行 (无需安装swoole扩展、仅支持http/websocket服务)。内置了 Http ，Tcp，WebSocket，MQTT，RPC服务。

代码
==

[](#代码)

Github : [https://github.com/luotianyil/iflow\_framework](https://github.com/luotianyil/iflow_framework)

Gitee : [https://gitee.com/mkccl/iflow\_application](https://gitee.com/mkccl/iflow_application)

安装
==

[](#安装)

composer install 前更改 composer 国内源

```
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

```

初始化项目
-----

[](#初始化项目)

示例项目

git初始化

```
git clone https://gitee.com/mkccl/iflow_application

cd iflow_application

sudo composer install && sudo php iflow install

```

composer 初始化项目

```
composer create-project iflow/application

```

启动

```
php iflow start or php iflow start-service

```

文档
==

[](#文档)

[最新文档地址](https://www.yuque.com/youzhiyuandemao/ftorkm)

演示
==

[](#演示)

项目支持
====

[](#项目支持)

[![jetbrains](https://camo.githubusercontent.com/c9a10bac2852d0a14cc25febc5730d20832917ee0e383ccd908aee7c85d303c3/68747470733a2f2f6d7a7368652e636e2f6a6574627261696e732d76617269616e742d332e737667)](https://jb.gg/OpenSource)

功能
==

[](#功能)

- 支持 Swoole 扩展
- 容器 (PSR-11)
- HTTP 服务器
- RPC 服务器
- WebSocket 服务器
- MVC 分层设计
- AOP
- 中间件
- 视图模板 ([iflow-template](https://www.github.com/luotianyil/iflow_template))
- i18n 国际化
- 注解路由 ([iflow-router](https://github.com/luotianyil/iflow_router))
- 数据库连接池
- ORM 模型 ([think-orm](https://www.kancloud.cn/manual/think-orm/1257998))
- 日志系统 (PSR-3) (支持类型：File/Elasticsearch)
- 缓存 （支持类型： File/Redis）
- 异常处理
- 自定义配置
- 自定义指令
- 事件注册
- Cookie
- Session
- 自定义权限验证
- JWT
- SMTP 发送邮件
- TCP/HTTP 自定义请求
- Elasticsearch 客户端
- GraphQL
- Kafka
- DHT 爬虫
- 支持Phar打包
- 更多有趣的助手函数

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance52

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 74.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

459d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d25b62271bcaef304dce7dcb02951de015980b87e5129f440b8d11758d4e86b?d=identicon)[洛水天依](/maintainers/%E6%B4%9B%E6%B0%B4%E5%A4%A9%E4%BE%9D)

---

Top Contributors

[![luotianyiovo](https://avatars.githubusercontent.com/u/22890200?v=4)](https://github.com/luotianyiovo "luotianyiovo (247 commits)")[![luotianyil](https://avatars.githubusercontent.com/u/43297170?v=4)](https://github.com/luotianyil "luotianyil (83 commits)")

---

Tags

composerelasticsearchiflow-frameworkkafkaormphprpcswooletcpwebsocket

### Embed Badge

![Health badge](/badges/iflow-framework/health.svg)

```
[![Health](https://phpackages.com/badges/iflow-framework/health.svg)](https://phpackages.com/packages/iflow-framework)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k132.9M468](/packages/zircote-swagger-php)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
