mortenscheel/laravel-ide-helper-plus
Composer 安装命令:
composer require mortenscheel/laravel-ide-helper-plus
包简介
An automation extension for barryvdh/laravel-ide-helper.
README 文档
README
This package is an extension for Barry vd. Heuvel's Laravel IDE Helper, adding some convenient automation features:
-
If an Eloquent model's underlying table is modified through a migration, automatically execute
php artisan ide-helper:models App\AffectedModelafter the migration has completed. -
Automatically execute
php artisan ide-helper:generateand/orphp artisan ide-helper:metawhen composer packages are changed (without having to edit the scripts incomposer.json)
I've submitted a pull-request adding these features to the original package, but since there has been no response in several months, I've decided to release them as a separate package.
Installation
Via Composer
$ composer require --dev mortenscheel/laravel-ide-helper-plus
Publish config
$ php artisan vendor:publish --tag ide-helper-plus
Default configuration
<?php return [ 'auto-docblocks' => [ 'enabled' => env('AUTO_MODEL_DOCBLOCKS', false), 'options' => [ '--write' => true, '--smart-reset' => true, ], ], 'auto-generate' => [ 'enabled' => env('AUTO_IDE_HELPER_GENERATE', false), ], 'auto-meta' => [ 'enabled' => env('AUTO_IDE_HELPER_META', false), ] ];
Change log
Please see the changelog for more information on what has changed recently.
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
- Barry vd. Heuvel (author of Laravel IDE Helper)
- Morten Scheel (automation features)
License
MIT. Please see the license file for more information.
统计信息
- 总下载量: 215
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-15