An automation extension for barryvdh/laravel-ide-helper.
mortenscheel/laravel-ide-helper-plus is a Laravel package for an automation extension for barryvdh/laravel-ide-helper..
It currently has 1 GitHub stars and 215 downloads on Packagist (latest version 0.3.1).
Install it with composer require mortenscheel/laravel-ide-helper-plus.
Discover more Laravel packages by mortenscheel
or browse all Laravel packages to compare alternatives.
Last updated
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\AffectedModel after the migration has completed.
Automatically execute php artisan ide-helper:generate and/or php artisan ide-helper:meta when composer packages are changed (without having to edit the scripts in composer.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.
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),
]
];
Please see the changelog for more information on what has changed recently.
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email author email instead of using the issue tracker.
MIT. Please see the license file for more information.