Kirin 80169d6661 first | hace 3 años | |
---|---|---|
.. | ||
bin | hace 3 años | |
config | hace 3 años | |
output | hace 3 años | |
src | hace 3 años | |
.gitignore | hace 3 años | |
.travis.yml | hace 3 años | |
LICENSE | hace 3 años | |
README.md | hace 3 años | |
composer.json | hace 3 años |
This package contains IDE help files for Swoole. You may use it in your IDE to provide accurate autocompletion.
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.4.7
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.4.7
Swoole Library is not included in this repository. To add Swoole Library, please run Composer commands like:
composer require swoole/library:@dev
The stubs are created by reverse-engineering the Swoole extensions directly; thus there is no documentation included, and type hinting is missing in many places. The Swoole team has tried its best to keep the stubs up to date, and we do want to add inline documentation and type hinting in the future; however, due to limited resources we don't know when it will be ready.
Here are some alternatives you can consider:
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.7 # To generate stubs for a specific version of Swoole.