hl56/yii2-ide-helper
最新稳定版本:1.0.1
Composer 安装命令:
composer require hl56/yii2-ide-helper
包简介
Yii2 IDE Helper, generates correct PHPDocs for all components, to improve auto-completion.
README 文档
README
Install
Require this package with composer using the following command:
composer require hl56/yii2-ide-helper --dev
Usage
After updating composer, add the component to the components array and bootstrap array in config file of console application:
'bootstrap' => ['log', 'ideHelper'], 'components' => [ 'ideHelper' => [ 'class' => 'hl56\IdeHelper\IdeHelper', ], ],
Now you can generate ide helper file by command:
./yii ide-helper/generate
Options
'ideHelper' => [ 'class' => 'hl56\IdeHelper\IdeHelper', 'rootDir' => dirname(dirname(__DIR__)), ],
Default config files:
protected $defaultConfigFiles = [ 'common/config/main.php', 'common/config/main-local.php', 'frontend/config/main.php', 'frontend/config/main-local.php', 'backend/config/main.php', 'backend/config/main-local.php', ];
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-17