- 先下载 swoole-ide-helper : https://github.com/eaglewu/swoole-ide-helper
- 打开phpstorm,左侧External Libraries 右键 选择Configure PHP Include Path
Paste_Image.png
添加 swoole-ide-helper 目录
Paste_Image.png
Paste_Image.png
- 点击apply 和 ok即可
添加 swoole-ide-helper 目录