/ide-helper

Open Swoole IDE Helper for VScode etc IDE [READ ONLY]

Primary LanguagePHP

OpenSwoole IDE Helper

Latest Stable Version License GitHub stars Twitter

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.