openswoole/ide-helper

IDE helper for OpenSwoole.

22.0.0 2022-12-13 17:36 UTC

README

Latest Stable Version License GitHub stars Twitter

This package contains IDE help files for Open Swoole. You may use it in your IDE to provide accurate autocompletion.

openswoole-ide-helper

Install

You can add this package to your project using Composer:

# v22.x
composer require openswoole/ide-helper:~22.0.0
# 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.0
# 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.