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

ActiveLibrary[Framework](/categories/framework)

hatsune/think-swoole
====================

Swoole extend for thinkphp

v4.0.4(4y ago)05Apache-2.0PHPPHP &gt;=7.4

Since Oct 5Pushed 4y agoCompare

[ Source](https://github.com/HatsuneMinami/think-swoole)[ Packagist](https://packagist.org/packages/hatsune/think-swoole)[ RSS](/packages/hatsune-think-swoole/feed)WikiDiscussions 4.0 Synced today

READMEChangelogDependencies (10)Versions (44)Used By (0)

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

[](#thinkphp-swoole-扩展)

交流群：787100169 [![点击加群](https://camo.githubusercontent.com/75b53e353bb9e5064662e185a6d39f4bb88c4e45bd3a1240ddf599525edb6afa/68747470733a2f2f7075622e69647171696d672e636f6d2f7770612f696d616765732f67726f75702e706e67 "点击加群")](https://jq.qq.com/?_wv=1027&k=VRcdnUKL)

安装
--

[](#安装)

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

```
composer require topthink/think-swoole

```

安装swoole扩展。

使用方法
----

[](#使用方法)

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

```
php think swoole

```

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

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

如果需要使用守护进程方式运行，建议使用supervisor来管理进程

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

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

Every ~42 days

Recently: every ~17 days

Total

43

Last Release

1778d ago

Major Versions

v1.0.0 → v2.0.02018-06-22

v2.0.17 → v3.0.02019-04-09

v2.0.18 → v3.0.102020-12-09

3.0.x-dev → v4.0.02021-05-27

2.0.x-dev → v4.0.42021-07-08

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

v4.0.0PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29708373?v=4)[HatsuneMinami](/maintainers/HatsuneMinami)[@HatsuneMinami](https://github.com/HatsuneMinami)

---

Top Contributors

[![yunwuxin](https://avatars.githubusercontent.com/u/2168125?v=4)](https://github.com/yunwuxin "yunwuxin (176 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 (8 commits)")[![HyperLife1119](https://avatars.githubusercontent.com/u/41798664?v=4)](https://github.com/HyperLife1119 "HyperLife1119 (5 commits)")[![simplewindorg](https://avatars.githubusercontent.com/u/6101935?v=4)](https://github.com/simplewindorg "simplewindorg (2 commits)")[![HatsuneMinami](https://avatars.githubusercontent.com/u/29708373?v=4)](https://github.com/HatsuneMinami "HatsuneMinami (2 commits)")[![sy-records](https://avatars.githubusercontent.com/u/33931153?v=4)](https://github.com/sy-records "sy-records (2 commits)")[![OverNaive](https://avatars.githubusercontent.com/u/62283101?v=4)](https://github.com/OverNaive "OverNaive (1 commits)")[![hainuo](https://avatars.githubusercontent.com/u/421861?v=4)](https://github.com/hainuo "hainuo (1 commits)")[![bzp2010](https://avatars.githubusercontent.com/u/8078418?v=4)](https://github.com/bzp2010 "bzp2010 (1 commits)")[![qq475281441](https://avatars.githubusercontent.com/u/14217045?v=4)](https://github.com/qq475281441 "qq475281441 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M19.9k](/packages/laravel-framework)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k251.7M11.5k](/packages/symfony-framework-bundle)[spiral/framework

Spiral, High-Performance PHP/Go Framework

2.1k2.2M66](/packages/spiral-framework)[oro/platform

Business Application Platform (BAP)

645143.5k114](/packages/oro-platform)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)

PHPackages © 2026

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