PHPackages                             upscale/ext-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. upscale/ext-swoole

ActiveMetapackage

upscale/ext-swoole
==================

Wrapper for ext-swoole interchangeable with ext-openswoole

v6.2.0(2mo ago)149.3k↓18.3%26Apache-2.0CI passing

Since Nov 16Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/upscalesoftware/ext-swoole)[ Packagist](https://packagist.org/packages/upscale/ext-swoole)[ RSS](/packages/upscale-ext-swoole/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)DependenciesVersions (263)Used By (6)

Swoole ↔ Open Swoole
====================

[](#swoole--open-swoole)

The split of the Swoole community into [Swoole](https://github.com/swoole/swoole-src) and [Open Swoole](https://github.com/openswoole/swoole-src) projects has left its ecosystem at crossroads: either stick with the original PHP extension or switch over to its fork.

Metapackages [upscale/ext-swoole](https://github.com/upscalesoftware/ext-swoole) and [upscale/ext-openswoole](https://github.com/upscalesoftware/ext-openswoole) declare the two extensions as interchangeable. They enable PHP projects to support both extensions instead of choosing one or the other.

**Features:**

- Unique version constraints for `swoole` and `opensoole`
- Constraints resolution delegated to Composer
- Metapackage ships no code, just constraints

Usage
-----

[](#usage)

Declare compatibility with both extensions in your `composer.json`:

```
     "require": {
-        "ext-swoole": "^4.0"
+        "upscale/ext-swoole": "^4.0",
+        "upscale/ext-openswoole": "^4.0"
     }
```

Presence of either extension will satisfy the requirements.

Versioning
----------

[](#versioning)

This metapackage mirrors official releases of [swoole/swoole-src](https://github.com/swoole/swoole-src). They are being tagged automatically.

Specify different constraints for each extension:

```
{
  "require": {
    "php": "~8.2.0",
    "upscale/ext-swoole": "^4.8.12",
    "upscale/ext-openswoole": "^4.12.0"
  }
}
```

License
-------

[](#license)

Copyright © Upscale Software. All rights reserved.

Licensed under the [Apache License, Version 2.0](https://github.com/upscalesoftware/ext-swoole/blob/master/LICENSE.txt).

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance86

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 65.2% 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 ~5 days

Recently: every ~22 days

Total

262

Last Release

79d ago

Major Versions

v5.1.3 → v6.0.0-alpha2024-06-01

v5.1.5 → v6.0.0-beta2024-10-01

v5.1.6 → v6.0.02024-12-01

v5.1.7 → v6.0.22025-03-01

v5.1.8 → v6.1.0-rc12025-08-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ff1791f1bd72221702e39e356c25b108de26dea1f5b56416f7957e8fa43ea92?d=identicon)[upscalesoftware](/maintainers/upscalesoftware)

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (30 commits)")[![sshymko](https://avatars.githubusercontent.com/u/1231423?v=4)](https://github.com/sshymko "sshymko (16 commits)")

---

Tags

swooleextensionopenswooleext-swooleext-openswooleOpen Swoole

### Embed Badge

![Health badge](/badges/upscale-ext-swoole/health.svg)

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

###  Alternatives

[swoole-bundle/swoole-bundle

Open/Swoole Symfony Bundle

6650.4k](/packages/swoole-bundle-swoole-bundle)[immusen/yii2-swoole-websocket

Websocket server for Yii2 base on swoole 4, Support JSONRPC, Resolve 'method' as a route reflect into controller/action, And support http or redis pub/sub to trigger async task from your web application.

338.8k](/packages/immusen-yii2-swoole-websocket)[phalcon/bridge-swoole

Bridge to run Phalcon with Swoole.

2612.6k](/packages/phalcon-bridge-swoole)[open-telemetry/context-swoole

Async Swoole/OpenSwoole context implementation for OpenTelemetry PHP.

1233.2k5](/packages/open-telemetry-context-swoole)[yiiplus/yii2-websocket

使用yii2封装 websocket 扩展

212.6k](/packages/yiiplus-yii2-websocket)

PHPackages © 2026

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