This package contains IDE help files for OpenSwoole. You may use it in your IDE to provide accurate autocompletion.
You can add this package to your project using Composer:
# v22.x
composer require openswoole/ide-helper:~22.0.1
# v4.x
composer require openswoole/ide-helper:~4.11.6
It's better to install this package on only development systems by adding the --dev
flag to your Composer commands:
# v22.x
composer require --dev openswoole/ide-helper:~22.0.1
# v4.x
composer require --dev openswoole/ide-helper:~4.11.6
Make sure you have included the openswoole ide-helper in the includePaths:
"intelephense.environment.includePaths": [
"vendor/openswoole/ide-helper"
]
./vendor/bin/php-cs-fixer fix
Documentation for Open Swoole can be found on the Open Swoole website.