PHPackages                             yiqiniu/think-swoole - 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. yiqiniu/think-swoole

ActiveLibrary[Framework](/categories/framework)

yiqiniu/think-swoole
====================

Swoole extend for thinkphp

v3.0.9(5y ago)04Apache-2.0PHPPHP &gt;7.1

Since Oct 5Pushed 4y agoCompare

[ Source](https://github.com/yiqiniu/think-swoole)[ Packagist](https://packagist.org/packages/yiqiniu/think-swoole)[ RSS](/packages/yiqiniu-think-swoole/feed)WikiDiscussions 3.0 Synced 1mo ago

READMEChangelogDependencies (6)Versions (36)Used By (0)

ThinkPHP Swoole 扩展
==================

[](#thinkphp-swoole-扩展)

安装
--

[](#安装)

首先按照Swoole官网说明安装swoole扩展，然后使用

```
composer require yiqiniu/think-swoole

```

安装swoole扩展。

使用方法
----

[](#使用方法)

直接在命令行下启动HTTP服务端。

```
php think swoole

```

启动完成后，默认会在0.0.0.0:80启动一个HTTP Server，可以直接访问当前的应用。

swoole的相关参数可以在`config/swoole.php`里面配置（具体参考配置文件内容）。

如果需要使用守护进程方式运行，可以配置

```
'options'   =>  [
    'daemonize' =>  true
]

```

支持的操作包括

```
php think swoole [start|stop|reload|restart]

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~62 days

Recently: every ~151 days

Total

32

Last Release

1570d ago

Major Versions

v1.0.0 → v2.0.02018-06-22

v2.0.17 → v3.0.02019-04-09

3.0.x-dev → 4.0.x-dev2022-01-23

PHP version history (2 changes)v3.0.6PHP &gt;7.1

4.0.x-devPHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1535765?v=4)[一起牛](/maintainers/gjianbo)[@gjianbo](https://github.com/gjianbo)

---

Top Contributors

[![yunwuxin](https://avatars.githubusercontent.com/u/2168125?v=4)](https://github.com/yunwuxin "yunwuxin (118 commits)")[![liu21st](https://avatars.githubusercontent.com/u/1111670?v=4)](https://github.com/liu21st "liu21st (107 commits)")[![xavieryang007](https://avatars.githubusercontent.com/u/6174650?v=4)](https://github.com/xavieryang007 "xavieryang007 (32 commits)")[![xqueezeme](https://avatars.githubusercontent.com/u/97489679?v=4)](https://github.com/xqueezeme "xqueezeme (8 commits)")[![NHZEX](https://avatars.githubusercontent.com/u/14545600?v=4)](https://github.com/NHZEX "NHZEX (5 commits)")[![gjianbo2020](https://avatars.githubusercontent.com/u/71360566?v=4)](https://github.com/gjianbo2020 "gjianbo2020 (2 commits)")[![simplewindorg](https://avatars.githubusercontent.com/u/6101935?v=4)](https://github.com/simplewindorg "simplewindorg (2 commits)")[![qq475281441](https://avatars.githubusercontent.com/u/14217045?v=4)](https://github.com/qq475281441 "qq475281441 (1 commits)")[![hainuo](https://avatars.githubusercontent.com/u/421861?v=4)](https://github.com/hainuo "hainuo (1 commits)")[![OverNaive](https://avatars.githubusercontent.com/u/62283101?v=4)](https://github.com/OverNaive "OverNaive (1 commits)")[![bzp2010](https://avatars.githubusercontent.com/u/8078418?v=4)](https://github.com/bzp2010 "bzp2010 (1 commits)")[![sy-records](https://avatars.githubusercontent.com/u/33931153?v=4)](https://github.com/sy-records "sy-records (1 commits)")[![yiqiniu](https://avatars.githubusercontent.com/u/51731603?v=4)](https://github.com/yiqiniu "yiqiniu (1 commits)")

### Embed Badge

![Health badge](/badges/yiqiniu-think-swoole/health.svg)

```
[![Health](https://phpackages.com/badges/yiqiniu-think-swoole/health.svg)](https://phpackages.com/packages/yiqiniu-think-swoole)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[topthink/think-swoole

Swoole extend for thinkphp

477174.4k19](/packages/topthink-think-swoole)[spiral/framework

Spiral, High-Performance PHP/Go Framework

2.0k1.8M57](/packages/spiral-framework)[laravel/pennant

A simple, lightweight library for managing feature flags.

57311.1M53](/packages/laravel-pennant)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[oro/platform

Business Application Platform (BAP)

644134.8k84](/packages/oro-platform)

PHPackages © 2026

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