daniel-de-wit / laravel-ide-helper-hook-eloquent-has-many-deep
Add Eloquent Has Many Deep support to Laravel IDE Helper
Installs: 2 357
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 1
Requires
- php: ^7.3 || ^8.0
- barryvdh/laravel-ide-helper: ^2.9.2
- staudenmeir/eloquent-has-many-deep: ^1.7
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.18
- nunomaduro/larastan: ^0.7.3
- orchestra/testbench: ^6.7
- phpstan/phpstan-mockery: ^0.12.13
- phpstan/phpstan-phpunit: ^0.12.18
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-02-22 13:30:20 UTC
README
DEPRECATED:
The Laravel IDE-helper hook has been added to the main repo, see:
- staudenmeir/eloquent-has-many-deep#215
- https://github.com/staudenmeir/eloquent-has-many-deep/releases/tag/v1.19
Laravel IDE Helper Hook EloquentHasManyDeep
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.