staudenmeir/eloquent-has-many-deep
Extended HasManyThrough for Laravel 5.5+ lets you define relationships with unlimited intermediate models, supporting many-to-many, polymorphic, and combined relationship types. Define deep relationships by concatenating existing ones or specifying keys manually; includes third-party package support...
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| staudenmeir/belongs-to-through | 0.89 | Add BelongsToThrough relationships to Eloquent: the inverse of HasManyThrough. Define belongs-to chains across unlimited intermediate models, with support for custom keys, table aliases, and soft deletes. Works with Laravel 5+. | 1,269 | 1,270 | 97 | 592K | 0 | 24.9 | 38.9 | MIT | 8 months ago | |
| ankurk91/laravel-eloquent-relationships | 0.88 | — | 58 | 59 | 9 | 8K | 0 | 0.3 | 20.7 | MIT | — | |
| staudenmeir/eloquent-has-many-deep-contracts | 0.88 | Contracts for staudenmeir/eloquent-has-many-deep. Includes the ConcatenableRelation contract to make third-party relationship packages concatenable with HasManyDeep, improving interoperability when combining deep Eloquent relations. | 7 | 7 | 1 | 1M | 0 | 8.2 | 58.4 | MIT | 8 months ago | |
| staudenmeir/eloquent-eager-limit-x-laravel-adjacency-list | 0.88 | Compatibility package combining staudenmeir/laravel-adjacency-list with eloquent-eager-limit, letting Laravel apps cap eager-loaded relations on recursive adjacency list queries. Adds the missing trait support so hierarchical models can limit eager loads per parent without N+1 queries. | 14 | 14 | 1 | 403 | 0 | 0.4 | 20.0 | MIT | 3 years ago | |
| staudenmeir/eloquent-eager-limit | 0.88 | Add per-parent limits to eager-loaded Eloquent relationships in Laravel. Load only the latest N related models for each parent (e.g., newest comments per post) without N+1 queries. Supports common relations and integrates cleanly with queries and pagination. | 883 | 884 | 70 | 40K | 0 | 12.5 | 23.0 | MIT | 3 years ago | |
| biiiiiigmonster/hasin | 0.88 | biiiiiigmonster/hasin brings recursive "has in" relationship queries to Laravel's Eloquent ORM, letting you fetch ancestors, descendants, and other nested tree data with fluent, hasMany-style syntax instead of raw recursive SQL. Ideal for category trees, comment threads, and org charts. | 154 | — | 17 | — | 0 | 9.8 | 0.4 | MIT | 7 months ago | |
| staudenmeir/laravel-merged-relations | 0.88 | Merge multiple Laravel Eloquent relations into a single relation that can be queried and eager loaded as one. Combine hasMany, belongsToMany, and morph relations into a unified result set, simplifying complex relationship handling in your models. | 185 | 186 | 12 | 53K | 1 | 9.6 | 36.2 | MIT | 7 months ago | |
| quentingab/wodel | 0.88 | quentingab/wodel is a Composer-installable Laravel/PHP package from quentingab. It is an early-stage project with limited adoption; consult the repository README for installation, configuration, and usage details before adding it to production. Best suited for evaluation and experimentation. | 0 | 0 | 0 | 1 | 0 | 0.2 | 2.9 | MIT | 5 years ago | |
| staudenmeir/laravel-adjacency-list | 0.88 | Laravel Eloquent extension that adds recursive relationships for tree and graph structures using common table expressions (CTEs). Traverse categories, page hierarchies, nested comments, and more across MySQL, PostgreSQL, SQLite, SQL Server, and MariaDB. | 1,578 | 1,579 | 113 | 469K | 5 | 40.6 | 40.8 | MIT | 1 month ago | |
| reedware/laravel-relation-joins | 0.88 | — | 212 | 212 | 22 | 87K | 3 | 20.4 | 39.2 | MIT | 6 months ago | |
| reinink/advanced-eloquent | 0.88 | — | 574 | 578 | 23 | 15K | 1 | 2.1 | 14.0 | — | 7 years ago | |
| zing/laravel-eloquent-relationships | 0.88 | — | 8 | 8 | 0 | 39K | 1 | 22.4 | 58.5 | MIT | 3 weeks ago | |
| staudenmeir/eloquent-json-relations | 0.87 | Adds JSON foreign key support to Laravel Eloquent relationships (belongsTo, hasMany, morph*, through). Also enables many-to-many and has-many-through relations using JSON arrays (IDs or objects) across MySQL, Postgres, SQLite, SQL Server. | 1,080 | 1,084 | 64 | 344K | 6 | 24.2 | 37.9 | MIT | 8 months ago | |
| staudenmeir/eloquent-param-limit-fix-x-laravel-adjacency-list | 0.87 | Bridge package that lets staudenmeir/laravel-adjacency-list work with the eloquent-param-limit-fix, avoiding database parameter limits when recursive adjacency list queries generate large numbers of bindings. | 11 | 11 | 0 | 49 | 0 | 6.7 | 10.3 | MIT | 8 months ago | |
| staudenmeir/eloquent-eager-limit-x-laravel-cte | 0.87 | A Laravel package that combines eager limit loading with common table expressions, letting you limit eager-loaded relationships per parent model using CTEs. Useful for fetching only the latest or top N related records for each parent in a single query. | 6 | 6 | 2 | 415 | 0 | 0.4 | 24.6 | MIT | 3 years ago | |
| lastdragon-ru/lara-asp-eloquent | 0.87 | — | 1 | 1 | 0 | 14K | 0 | 0.0 | 53.2 | MIT | — | |
| kobykorman/eloquentify | 0.87 | Eloquentify turns one custom SQL query with JSON-aggregated relations into fully hydrated nested Eloquent models, collapsing N+1 and R+1 round trips into a single query with zero configuration. | 20 | 20 | 0 | 457 | 0 | 13.6 | 20.7 | MIT | 4 months ago | |
| znck/belongs-to-through | 0.87 | — | 1,269 | 605 | 97 | 637 | 0 | 24.6 | 2.6 | MIT | 8 months ago | |
| fico7489/laravel-eloquent-join | 0.87 | Laravel Eloquent Join adds SQL JOIN support to Eloquent models and relationships, letting you sort, filter, and query joined tables directly while keeping familiar query builder syntax. It simplifies complex relationship queries and helps avoid extra queries. | 338 | — | 87 | — | 11 | 7.6 | 4.1 | MIT | 1 year ago |
|
| imanghafoori/eloquent-relativity | 0.87 | Give your Eloquent models generic, reusable relationships without defining dozens of methods. eloquent-relativity lets any model relate to any other through a single relatives relation, so you can attach, detach, and query arbitrary model connections in Laravel with minimal code. | 148 | 148 | 13 | 27 | 1 | 1.2 | 1.0 | MIT | 2 years ago |
How can I help you explore Laravel packages today?