easyswoole/swoole-ide-helper

IDE help files for Swoole.

1.3.2 2019-09-06 15:31 UTC

README

Build Status Latest Stable Version License

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

Install

You may add this package to your project using Composer:

composer require swoole/ide-helper:@dev
# or you may install a specific version, like:
composer require swoole/ide-helper:~4.3.3

It's better to install this package on only development systems by adding the --dev flag to your Composer commands:

composer require --dev swoole/ide-helper:@dev
# or you may install a specific version, like:
composer require --dev swoole/ide-helper:~4.3.3

Generate IDE Help Files

Have Docker running first, then use script ./bin/generator.sh to generate IDE help files and put them under folder output/ with commands like following:

./bin/generator.sh       # To generate stubs with latest code from the master branch of Swoole.
./bin/generator.sh 4.4.3 # To generate stubs for a specific version of Swoole.