https://github.com/yurunsoft/ide-helper
让 PHP 扩展支持 IDE 代码提示,通过在 composer.json 配置,可以支持所有扩展,包括但不限于 Swoole、Redis 等
https://github.com/yurunsoft/ide-helper
Last synced: 9 months ago
JSON representation
让 PHP 扩展支持 IDE 代码提示,通过在 composer.json 配置,可以支持所有扩展,包括但不限于 Swoole、Redis 等
- Host: GitHub
- URL: https://github.com/yurunsoft/ide-helper
- Owner: Yurunsoft
- License: mit
- Created: 2020-04-27T08:37:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-16T08:52:35.000Z (almost 4 years ago)
- Last Synced: 2025-08-26T17:29:08.677Z (10 months ago)
- Language: PHP
- Size: 21.5 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ide-helper
[](https://packagist.org/packages/yurunsoft/ide-helper)
[](https://secure.php.net/)
[](https://github.com/yurunsoft/ide-helper/blob/master/LICENSE)
## 介绍
让 PHP 扩展支持 IDE 代码提示,通过在 composer.json 配置,可以支持所有扩展,包括但不限于 Swoole、Redis 等
技术支持群: 17916227[](https://jq.qq.com/?_wv=1027&k=5wXf4Zq),如有问题可以及时解答和修复。
## 使用
在项目中引入`yurunsoft/ide-helper`,然后在`composer.json`的`extra`中配置。
如下所示,可以生成 `swoole`、`redis` 的代码提示帮助文件。
> 支持所有 PHP 扩展,前提是你的环境中有安装。
```php
{
"require-dev": {
"yurunsoft/ide-helper": "~1.0"
},
"extra": {
"ide-helper": {
"list": [
"swoole",
"redis"
]
}
}
}
```
最后执行`composer update`即可。