PHPackages                             daniel-de-wit/laravel-ide-helper-hook-eloquent-has-many-deep - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. daniel-de-wit/laravel-ide-helper-hook-eloquent-has-many-deep

Abandoned → [staudenmeir/eloquent-has-many-deep](/?search=staudenmeir%2Feloquent-has-many-deep)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

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

Add Eloquent Has Many Deep support to Laravel IDE Helper

v1.0.1(3y ago)23.1k1[1 PRs](https://github.com/daniel-de-wit/laravel-ide-helper-hook-eloquent-has-many-deep/pulls)MITPHPPHP ^7.3 || ^8.0

Since Aug 27Pushed 2y ago1 watchersCompare

[ Source](https://github.com/daniel-de-wit/laravel-ide-helper-hook-eloquent-has-many-deep)[ Packagist](https://packagist.org/packages/daniel-de-wit/laravel-ide-helper-hook-eloquent-has-many-deep)[ Docs](https://github.com/daniel-de-wit/laravel-ide-helper-hook-eloquent-has-many-deep)[ RSS](/packages/daniel-de-wit-laravel-ide-helper-hook-eloquent-has-many-deep/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (6)Used By (0)

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/pull/215)
-

Laravel IDE Helper Hook EloquentHasManyDeep
===========================================

[](#laravel-ide-helper-hook-eloquenthasmanydeep)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![GitHub Tests Action Status](https://camo.githubusercontent.com/e8e519778e63f24e5d244eabf268bf4a370a696d3c6e508d2857df6ee82956db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f64616e69656c2d64652d7769742f6c61726176656c2d6964652d68656c7065722d686f6f6b2d656c6f7175656e742d6861732d6d616e792d646565702f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/daniel-de-wit/laravel-ide-helper-hook-eloquent-has-many-deep/actions?query=workflow%3Arun-tests+branch%3Amain)[![Coverage Status](https://camo.githubusercontent.com/a818df1b64e703b0953e29f671d12f8e402d50b28892d19e2dcea70f6697bb91/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f64616e69656c2d64652d7769742f6c61726176656c2d6964652d68656c7065722d686f6f6b2d656c6f7175656e742d6861732d6d616e792d646565702f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/daniel-de-wit/laravel-ide-helper-hook-eloquent-has-many-deep?branch=main)[![Latest Version on Packagist](https://camo.githubusercontent.com/f71c200a709fec368341800ab0932b4bc7eeadc149a221869113a9a132efe6cd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64616e69656c2d64652d7769742f6c61726176656c2d6964652d68656c7065722d686f6f6b2d656c6f7175656e742d6861732d6d616e792d646565702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/daniel-de-wit/laravel-ide-helper-hook-eloquent-has-many-deep)[![Total Downloads](https://camo.githubusercontent.com/5e354259cc5a0ab47b9b3c8c23704c8762d1d4aff62da7603f5b0ef46b023833/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64616e69656c2d64652d7769742f6c61726176656c2d6964652d68656c7065722d686f6f6b2d656c6f7175656e742d6861732d6d616e792d646565702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/daniel-de-wit/laravel-ide-helper-hook-eloquent-has-many-deep)

A Laravel Package for adding [EloquentHasManyDeep](https://github.com/staudenmeir/eloquent-has-many-deep#existing-relationships) support to Laravel IDE Helper [Laravel IDE Helper](https://github.com/barryvdh/laravel-ide-helper).

Installation
------------

[](#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](https://laravel.com/docs/8.x/packages#package-discovery), when disabled read [Manual Installation](#manual-installation).

Usage
-----

[](#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
-------------------

[](#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
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Daniel de Wit](https://github.com/daniel-de-wit)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~75 days

Total

2

Last Release

1279d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/280a3fc65bcb018cdda3598076ca8040dbe6786970b2317d14d6f5f61d50a6c5?d=identicon)[daniel-de-wit](/maintainers/daniel-de-wit)

---

Top Contributors

[![daniel-de-wit](https://avatars.githubusercontent.com/u/3015394?v=4)](https://github.com/daniel-de-wit "daniel-de-wit (11 commits)")

---

Tags

devlaravel-ide-helpereloquent-has-many-deep

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/daniel-de-wit-laravel-ide-helper-hook-eloquent-has-many-deep/health.svg)

```
[![Health](https://phpackages.com/badges/daniel-de-wit-laravel-ide-helper-hook-eloquent-has-many-deep/health.svg)](https://phpackages.com/packages/daniel-de-wit-laravel-ide-helper-hook-eloquent-has-many-deep)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[symfony/polyfill

Symfony polyfills backporting features to lower PHP versions

2.8k4.5M24](/packages/symfony-polyfill)[phing/phing

PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.

1.2k21.7M876](/packages/phing-phing)[phpstan/extension-installer

Composer plugin for automatic installation of PHPStan extensions

49998.1M8.3k](/packages/phpstan-extension-installer)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
