Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Add EloquentHasManyDeep support to Laravel IDE Helper

License

Notifications You must be signed in to change notification settings

daniel-de-wit/laravel-ide-helper-hook-eloquent-has-many-deep

Repository files navigation

DEPRECATED:

The Laravel IDE-helper hook has been added to the main repo, see:

Laravel IDE Helper Hook EloquentHasManyDeep

Software License GitHub Tests Action Status Coverage Status Latest Version on Packagist Total Downloads

A Laravel Package for adding EloquentHasManyDeep support to Laravel IDE Helper Laravel IDE Helper.

Installation

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.

Usage

Run standard model generation commands as normal:

php artisan ide-helper:models "App\Models\Post"

Docblocks will be added to the model

Manual Installation

When disabled, register the LaravelIdeHelperHookEloquentHasManyDeepServiceProvider manually by adding it to your config/app.php

/*
 * Package Service Providers...
 */
 DanielDeWit\LaravelIdeHelperHookEloquentHasManyDeep\Providers\LaravelIdeHelperHookEloquentHasManyDeepServiceProvider::class,

Testing

composer test

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Add EloquentHasManyDeep support to Laravel IDE Helper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages