PHPackages                             swoole-foundation/yii2-swoole-app - 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. [Framework](/categories/framework)
4. /
5. swoole-foundation/yii2-swoole-app

ActiveProject[Framework](/categories/framework)

swoole-foundation/yii2-swoole-app
=================================

running yii2 app on swoole

1.0.0(6y ago)5322[1 issues](https://github.com/swoole-foundation/yii2-swoole-app/issues)MITPHP

Since May 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/swoole-foundation/yii2-swoole-app)[ Packagist](https://packagist.org/packages/swoole-foundation/yii2-swoole-app)[ RSS](/packages/swoole-foundation-yii2-swoole-app/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (2)Used By (0)

yii2 swoole app
===============

[](#yii2-swoole-app)

swoole Yii2应用模板，开发方式同普通Yii2应用一致，让你拥有Yii2的开发效率和swoole的运行效率!

初始化项目
-----

[](#初始化项目)

`composer create-project swoole-foundation/yii2-swoole-app app`

改造已有项目
------

[](#改造已有项目)

可以参考本项目，需要处理的地方如下：

1. web环境下Request/Response组件需要处理
2. ErrorHandler需要处理
3. 提供swoole启动引导脚本

第1点和第2点可以参考 升级成本比较低。

服务器管理
-----

[](#服务器管理)

- 启动服务器

    ```
    ./yii server/start
    ```
- reload服务器

    ```
    ./yii server/reload
    ```
- 停止服务器

    ```
    ./yii server/stop
    ```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

2552d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/53bf3c0d561e73a9b3f6d61e9056297e80a85cf8a1787107bc59ef610366ede8?d=identicon)[xialeistudio](/maintainers/xialeistudio)

---

Top Contributors

[![xialeistudio](https://avatars.githubusercontent.com/u/5136506?v=4)](https://github.com/xialeistudio "xialeistudio (2 commits)")

---

Tags

swooleyii2

### Embed Badge

![Health badge](/badges/swoole-foundation-yii2-swoole-app/health.svg)

```
[![Health](https://phpackages.com/badges/swoole-foundation-yii2-swoole-app/health.svg)](https://phpackages.com/packages/swoole-foundation-yii2-swoole-app)
```

###  Alternatives

[feehi/yii2-swoole

yii2 swoole,让yii2跑在swoole上

3458.3k1](/packages/feehi-yii2-swoole)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[swoole-foundation/yii2-swoole-extension

running yii2 web application on swoole server

4312.3k1](/packages/swoole-foundation-yii2-swoole-extension)

PHPackages © 2026

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