A Laravel Package for adding EloquentHasManyDeep support to Laravel IDE Helper Laravel IDE Helper.
You can install the package via composer:
composer require --dev daniel-de-wit/laravel-ide-helper-hook-eloquent-has-many-deep
The EloquentHasManyDeep Hook is loaded using Package Discovery, when disabled read Manual Installation.
Run standard model generation commands as normal:
php artisan ide-helper:models "App\Models\Post"
Docblocks will be added to the model
When disabled, register the LaravelIdeHelperHookEloquentHasManyDeepServiceProvider manually by adding it to your config/app.php
/*
* Package Service Providers...
*/
DanielDeWit\LaravelIdeHelperHookEloquentHasManyDeep\Providers\LaravelIdeHelperHookEloquentHasManyDeepServiceProvider::class,
composer test
The MIT License (MIT). Please see License File for more information.