yurunsoft/ide-helper

Installs: 368 544

Dependents: 14

Suggesters: 0

Security: 0

Stars: 10

Watchers: 3

Forks: 2

Open Issues: 0

Type:composer-plugin

v1.2.3 2022-08-16 08:51 UTC

This package is auto-updated.

Last update: 2024-03-16 12:12:29 UTC


README

Latest Version Php Version IMI License

介绍

让 PHP 扩展支持 IDE 代码提示,通过在 composer.json 配置,可以支持所有扩展,包括但不限于 Swoole、Redis 等

技术支持群: 17916227点击加群,如有问题可以及时解答和修复。

使用

在项目中引入yurunsoft/ide-helper,然后在composer.jsonextra中配置。

如下所示,可以生成 swooleredis 的代码提示帮助文件。

支持所有 PHP 扩展,前提是你的环境中有安装。

{
    "require-dev": {
        "yurunsoft/ide-helper": "~1.0"
    },
    "extra": {
        "ide-helper": {
            "list": [
                "swoole",
                "redis"
            ]
        }
    }
}

最后执行composer update即可。