PHPackages                             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. swoole/ide-helper

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

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

IDE help files for Swoole.

6.0.2(1y ago)5166.5M—4.1%68[3 issues](https://github.com/swoole/ide-helper/issues)[2 PRs](https://github.com/swoole/ide-helper/pulls)20Apache-2.0PHPCI passing

Since Mar 12Pushed 5mo ago29 watchersCompare

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

READMEChangelog (10)DependenciesVersions (93)Used By (20)

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

[](#swoole-ide-helper)

[![Twitter](https://camo.githubusercontent.com/938a48bafad518c277315ee27ebefa0a0ca9f7cde918eef1820810964ff6e9f5/68747470733a2f2f62616467656e2e6e65742f62616467652f69636f6e2f747769747465723f69636f6e3d74776974746572266c6162656c)](https://twitter.com/phpswoole)[![Discord](https://camo.githubusercontent.com/155081771f1f717ebd6be59f0cb88fb4ac65ee4a70fec13715509f7e280fdd50/68747470733a2f2f62616467656e2e6e65742f62616467652f69636f6e2f646973636f72643f69636f6e3d646973636f7264266c6162656c)](https://discord.swoole.dev)[![Latest Stable Version](https://camo.githubusercontent.com/b9435c849d8c0817b49a05ffeb684f360950c50b978cf223e11e86722c985738/68747470733a2f2f706f7365722e707567782e6f72672f73776f6f6c652f6964652d68656c7065722f762f737461626c652e737667)](https://packagist.org/packages/swoole/ide-helper)[![License](https://camo.githubusercontent.com/ee203f2ee622fb10c45d0e3734ffa1f41195962606f72211eced140f0a55993f/68747470733a2f2f706f7365722e707567782e6f72672f73776f6f6c652f6964652d68656c7065722f6c6963656e7365)](LICENSE)

This package contains IDE help files for [Swoole](https://github.com/swoole/swoole-src). You may use it in your IDE to provide accurate autocompletion.

Install
-------

[](#install)

You can add this package to your project using [Composer](https://getcomposer.org):

```
composer require swoole/ide-helper:~5.0.0
# or
composer require --dev swoole/ide-helper:~5.0.0
```

To use the latest stubs from the `master` branch:

```
composer require swoole/ide-helper:@dev
# or
composer require --dev swoole/ide-helper:@dev
```

PHP Configuration Settings
--------------------------

[](#php-configuration-settings)

- `swoole.display_errors`: Boolean. Default `On`. Display/hide error information from Swoole.
- `swoole.enable_coroutine`: Boolean. Default `On`. Turn on/off coroutine support.
- `swoole.enable_library`: Boolean. Default `On`. Load the source code from [Swoole Library](https://github.com/swoole/library) or not.
- `swoole.enable_preemptive_scheduler`: Boolean. Default `Off`. Enable preemptive scheduler or not. To understand how it works, please check examples under section "CPU-intensive job scheduling" of repository [deminy/swoole-by-examples](https://github.com/deminy/swoole-by-examples).
- `swoole.unixsock_buffer_size`: Integer (in bytes). By default, it's 256 KiB on Macintosh or FreeBSD, otherwise 8 MiB. The total buffer sizes for the socket connections between the master process and the worker processes in Swoole.
- `swoole.use_shortname`: Boolean. Default `On`. Support short names or not. Short names are all the aliases listed in file [src/swoole/shortnames.php](src/swoole/shortnames.php).

All the directives can be set anywhere except `swoole.use_shortname`, which can only be set in `php.ini` files.

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance59

Moderate activity, may be stable

Popularity66

Solid adoption and visibility

Community55

Growing community involvement

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 87.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 ~26 days

Recently: every ~33 days

Total

91

Last Release

288d ago

Major Versions

4.8.12 → 5.0.12022-11-08

4.8.x-dev → 5.0.32023-04-28

5.1.3 → 6.0.0-alpha2024-06-24

5.1.6 → 6.0.0-rc12024-12-02

5.1.7 → 6.0.12025-03-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1dea9261ba377a13a16e7e0f3883e73bda4094551ddea280e852f23a5d248c0?d=identicon)[Tianfeng.Han](/maintainers/Tianfeng.Han)

![](https://avatars.githubusercontent.com/u/865547?v=4)[Demin Yin](/maintainers/deminy)[@deminy](https://github.com/deminy)

![](https://www.gravatar.com/avatar/1bdf9390d85a45dad64fe58584f55824c12a134a04e338d6259845683d9db137?d=identicon)[twosee](/maintainers/twosee)

---

Top Contributors

[![deminy](https://avatars.githubusercontent.com/u/865547?v=4)](https://github.com/deminy "deminy (333 commits)")[![twose](https://avatars.githubusercontent.com/u/25978241?v=4)](https://github.com/twose "twose (16 commits)")[![matyhtf](https://avatars.githubusercontent.com/u/2017766?v=4)](https://github.com/matyhtf "matyhtf (10 commits)")[![sy-records](https://avatars.githubusercontent.com/u/33931153?v=4)](https://github.com/sy-records "sy-records (9 commits)")[![mrVrAlex](https://avatars.githubusercontent.com/u/633883?v=4)](https://github.com/mrVrAlex "mrVrAlex (2 commits)")[![kiss291323003](https://avatars.githubusercontent.com/u/24490609?v=4)](https://github.com/kiss291323003 "kiss291323003 (1 commits)")[![MrMeshok](https://avatars.githubusercontent.com/u/72924086?v=4)](https://github.com/MrMeshok "MrMeshok (1 commits)")[![AlvisZhang](https://avatars.githubusercontent.com/u/2044208?v=4)](https://github.com/AlvisZhang "AlvisZhang (1 commits)")[![nimrc](https://avatars.githubusercontent.com/u/7780697?v=4)](https://github.com/nimrc "nimrc (1 commits)")[![persiliao](https://avatars.githubusercontent.com/u/19988497?v=4)](https://github.com/persiliao "persiliao (1 commits)")[![proilyxa](https://avatars.githubusercontent.com/u/60401505?v=4)](https://github.com/proilyxa "proilyxa (1 commits)")[![evalor](https://avatars.githubusercontent.com/u/26944445?v=4)](https://github.com/evalor "evalor (1 commits)")[![takeokunn](https://avatars.githubusercontent.com/u/11222510?v=4)](https://github.com/takeokunn "takeokunn (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

autocompletionide-helpersphpswooletypehinting

### Embed Badge

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

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

PHPackages © 2026

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