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

ActiveLibrary[Framework](/categories/framework)

lonely-sally/think-swoole
=========================

Swoole extend for thinkphp

3.0.10(5y ago)074Apache-2.0PHPPHP &gt;7.1

Since Oct 5Pushed 5y agoCompare

[ Source](https://github.com/LonelySally/think-swoole)[ Packagist](https://packagist.org/packages/lonely-sally/think-swoole)[ RSS](/packages/lonely-sally-think-swoole/feed)WikiDiscussions 3.0 Synced 2d ago

READMEChangelog (1)Dependencies (6)Versions (36)Used By (0)

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

[](#thinkphp-swoole-扩展)

安装
--

[](#安装)

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

```
composer require topthink/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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community13

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 ~46 days

Recently: every ~26 days

Total

32

Last Release

2072d ago

Major Versions

v1.0.0 → v2.0.02018-06-22

v2.0.17 → v3.0.02019-04-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d446e3edbb388f6d81944b0849b3e9030c232bf1749786165a26f320d2479e7?d=identicon)[糖水不加糖](/maintainers/%E7%B3%96%E6%B0%B4%E4%B8%8D%E5%8A%A0%E7%B3%96)

---

Top Contributors

[![liu21st](https://avatars.githubusercontent.com/u/1111670?v=4)](https://github.com/liu21st "liu21st (107 commits)")[![yunwuxin](https://avatars.githubusercontent.com/u/2168125?v=4)](https://github.com/yunwuxin "yunwuxin (89 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)")[![LonelySally](https://avatars.githubusercontent.com/u/26945597?v=4)](https://github.com/LonelySally "LonelySally (3 commits)")[![simplewindorg](https://avatars.githubusercontent.com/u/6101935?v=4)](https://github.com/simplewindorg "simplewindorg (2 commits)")[![hainuo](https://avatars.githubusercontent.com/u/421861?v=4)](https://github.com/hainuo "hainuo (1 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/lonely-sally-think-swoole/health.svg)](https://phpackages.com/packages/lonely-sally-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)
