openswoole / ide-helper
IDE helper for OpenSwoole.
Installs: 355 231
Dependents: 53
Suggesters: 0
Security: 0
Stars: 50
Watchers: 1
Forks: 7
Open Issues: 1
Requires
- php: >=7.4
- ext-openswoole: >=22.0
Requires (Dev)
This package is not auto-updated.
Last update: 2024-11-10 23:47:43 UTC
README
This package contains IDE help files for OpenSwoole. You may use it in your IDE to provide accurate autocompletion.
Install
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
PHP Intelephense extension users
Make sure you have included the openswoole ide-helper in the includePaths:
"intelephense.environment.includePaths": [ "vendor/openswoole/ide-helper" ]
Fix code style before commit
./vendor/bin/php-cs-fixer fix
Documentation
Documentation for Open Swoole can be found on the Open Swoole website.