eaglewu/swoole-ide-helper
Laravel IDE helper for Swoole-based apps: adds accurate code completion and type hints for Swoole/Coroutine features, facades and helpers, improving PhpStorm and other IDE autocompletion when using swoole/laravel-swoole integrations.
eaglewu/swoole-ide-helper package is designed to enhance IDE support for Swoole, a PHP coroutine-based concurrency library. If the product leverages Swoole for async I/O, high concurrency, or coroutine-based workflows, this package directly improves developer productivity by providing autocompletion, inline documentation, and code suggestions—critical for complex async PHP applications.swoole-table, swoole-process) alongside Laravel.barryvdh/laravel-ide-helper).composer require eaglewu/swoole-ide-helper).php artisan ide-helper:generate if a Laravel wrapper exists).ext-swoole >= 4.7.0 (or the target version).eaglewu/swoole-ide-helper has a Laravel-specific facade (like barryvdh/laravel-ide-helper).phpstan.neon rules.new Swoole\Server, Go, yield, Swoole\Table).composer.json and IDE configurations.- name: Generate Swoole IDE Helpers
run: vendor/bin/php-ide-helper generate --level=max --only-swoole
ext-swoole version (check with php -m | grep swoole).composer.json complexity.composer dump-autoload).php -m output).composer install (depends on codebase size).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Package stops working (archived) | Broken IDE support | Fork the repo or switch to PHPDoc. |
| IDE-specific bugs | Developer frustration | Standardize on one IDE (e.g., PHPStorm). |
| Swoole version incompatibility | Helpers generate incorrect types | Pin Swoole version in composer.json. |
| CI build failures | Blocked deployments | Cache helper generation in CI. |
| Over-reliance on autocompletion | Developers ignore PHPDoc | Enforce PHPDoc standards in PR |
How can I help you explore Laravel packages today?