PHPackages                             swoft/swoole-ide-helper - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. swoft/swoole-ide-helper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

swoft/swoole-ide-helper
=======================

IDE helper for Swoft and Swoole

v4.4.8(6y ago)41322.9k↓19%1320Apache-2.0PHP

Since May 23Pushed 6y ago4 watchersCompare

[ Source](https://github.com/swoft-cloud/swoole-ide-helper)[ Packagist](https://packagist.org/packages/swoft/swoole-ide-helper)[ RSS](/packages/swoft-swoole-ide-helper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)DependenciesVersions (12)Used By (20)

Swoole IDE Helper
=================

[](#swoole-ide-helper)

[![Latest Stable Version](https://camo.githubusercontent.com/d684ba938b97209454f02247508503d58ddf861eefe5ae8d132d61c638fc8050/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73776f66742f73776f6f6c652d6964652d68656c7065722e737667)](https://packagist.org/packages/swoft/swoole-ide-helper)[![Packagist](https://camo.githubusercontent.com/e8da77e2a723bf3b95b525664a4ea67f6833a6a561282ab70263d4550b0a239a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73776f66742f73776f6f6c652d6964652d68656c706572)](https://packagist.org/packages/swoft/swoole-ide-helper)[![License](https://camo.githubusercontent.com/1c419f89412ea6c234c184ad6d85decb127c18584858d3707ae7d8e2131eccc4/68747470733a2f2f696d672e736869656c64732e696f2f686578706d2f6c2f706c75672e7376673f6d61784167653d32353932303030)](https://github.com/swoft-cloud/swoole-ide-helper/blob/master/LICENSE)

Add IDE helper for the **swoole** extension, forked from [swoole/ide-helper](https://github.com/swoole/ide-helper)

> `swoft/swoole-ide-helper` keep the same version of **swoole**

Diff With swoole/ide-helper
---------------------------

[](#diff-with-swooleide-helper)

Different from the source repository: variable types are added to most method parameters for easy reference.

Old：

```
/**
 * @param $fd
 * @param $data
 * @param $opcode
 * @param $finish
 * @return mixed
 */
public function push($fd, $data, $opcode = null, $finish = null){}
```

**Now**:

```
/**
 * @param int $fd
 * @param mixed $data
 * @param int $opcode
 * @param bool $finish
 * @return mixed
 */
public function push(int $fd, $data, int $opcode = null, bool $finish = null){}
```

Install
-------

[](#install)

The [Swoft](https://github.com/swoft-cloud/swoft) use it as default.

You can add it by `composer`:

```
composer require --dev swoft/swoole-ide-helper

# use latest code
composer require --dev swoft/swoole-ide-helper@dev-master

# for specific version
composer require --dev swoft/swoole-ide-helper:~4.4.2
```

Build
-----

[](#build)

You can regenerate it locally.

Of course, you must ensure that the `swoole` extension is already installed.

```
cd /path/to/swoole-ide-helper
php dump.php
```

By docker:

```
docker run -ti --rm -v /path/to/swoole-ide-helper:/var/www/swoft swoft/swoft bash
php dump.php
```

LICENSE
-------

[](#license)

See [LICENSE](LICENSE)

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community37

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 50.6% 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 ~51 days

Recently: every ~12 days

Total

11

Last Release

2405d ago

Major Versions

v2.1.3 → v4.2.12018-09-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/b2523931b3da00b736f7228ef9523aec5300b7ebead79a1460256cfc1a913fe5?d=identicon)[swoft](/maintainers/swoft)

---

Top Contributors

[![inhere](https://avatars.githubusercontent.com/u/5302062?v=4)](https://github.com/inhere "inhere (44 commits)")[![NHZEX](https://avatars.githubusercontent.com/u/14545600?v=4)](https://github.com/NHZEX "NHZEX (32 commits)")[![daydaygo](https://avatars.githubusercontent.com/u/3986303?v=4)](https://github.com/daydaygo "daydaygo (5 commits)")[![limingxinleo](https://avatars.githubusercontent.com/u/16648551?v=4)](https://github.com/limingxinleo "limingxinleo (3 commits)")[![huangzhhui](https://avatars.githubusercontent.com/u/12077148?v=4)](https://github.com/huangzhhui "huangzhhui (1 commits)")[![assert6](https://avatars.githubusercontent.com/u/28561563?v=4)](https://github.com/assert6 "assert6 (1 commits)")[![AaronW-BE](https://avatars.githubusercontent.com/u/6651400?v=4)](https://github.com/AaronW-BE "AaronW-BE (1 commits)")

---

Tags

ide-helpersswoftswoolephpswooleide-helperswoft

### Embed Badge

![Health badge](/badges/swoft-swoole-ide-helper/health.svg)

```
[![Health](https://phpackages.com/badges/swoft-swoole-ide-helper/health.svg)](https://phpackages.com/packages/swoft-swoole-ide-helper)
```

PHPackages © 2026

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