atldays/laravel-eloquent-join-relation
Add SQL joins to Laravel Eloquent relationships without dropping to the query builder. atldays/laravel-eloquent-join-relation lets you join related tables through existing relationship definitions, filter and sort by joined columns, and keep clean, readable model code.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mr-punyapal/laravel-extended-relationships | 0.89 | Extra Eloquent relationship helpers for Laravel that cut database queries, improve performance, and reduce duplicate code. Requires PHP 8.3+ and Laravel 12/13, with easy Composer installation. | 174 | 174 | 8 | 1K | 1 | 21.2 | 14.0 | MIT | 2 months 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 | |
| rgalstyan/laravel-aggregated-queries | 0.88 | Laravel Aggregated Queries helps you combine multiple database queries into one aggregated call, reducing round trips and simplifying complex reporting. It keeps query builder workflows familiar while making data fetching more efficient and code easier to maintain for dashboards and reports. | 10 | 10 | 0 | 2 | 0 | 2.7 | 1.0 | MIT | 10 months 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 | |
| xedi/eloquent-sync | 0.87 | xedi/eloquent-sync is a Laravel package for keeping Eloquent models synchronized with external systems. It helps map model data, push and pull changes, and keep local records consistent with remote sources, reducing custom integration boilerplate for sync workflows. | 1 | 1 | 0 | 0 | 1 | 0.2 | — | MIT | 6 years ago | |
| elhareth/laravel-eloquent-metable | 0.87 | elhareth/laravel-eloquent-metable adds flexible key-value metadata to any Eloquent model via a simple trait, letting you attach custom attributes without extra migrations or schema changes. | 0 | — | 0 | — | 0 | 0.0 | — | MIT | 2 years ago | |
| stancl/laravel-hasmanywithinverse | 0.87 | Laravel's hasMany leaves the inverse relation unset, so accessing the parent from each child triggers extra queries. This package adds hasManyWithinverse, which hydrates the inverse automatically—so $child->parent is already loaded without N+1. | 69 | — | 5 | — | 1 | 0.9 | — | MIT | 3 years ago | |
| masterfri/laravel-smart-relations | 0.87 | Laravel Smart Relations streamlines Eloquent relationship management in Laravel with smarter helpers and conventions for defining, querying, and working with model relations, reducing boilerplate and keeping model code cleaner and easier to maintain. | 6 | — | 1 | — | 0 | 0.4 | — | — | 7 years ago | |
| staudenmeir/eloquent-has-many-deep | 0.87 | 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... | 2,872 | 2,876 | 157 | 943K | 2 | 36.4 | 36.8 | MIT | 7 months ago | |
| znck/belongs-to-through | 0.87 | — | 1,269 | 605 | 97 | 637 | 0 | 24.6 | 2.6 | MIT | 8 months ago | |
| paxha/laravel-recursive-relationships | 0.87 | Laravel package for defining and working with recursive relationships in Eloquent models—query parent-child hierarchies, trees, and nested structures with ease. (Approx 160 chars - need closer to 300) Let me expand to ~300 chars: Laravel package for defining and querying recursive relationships in E... | 27 | 27 | 5 | 898 | 1 | 0.4 | 21.0 | MIT | 5 years ago | |
| jobmetric/laravel-membership | 0.87 | Laravel Membership by Jobmetric provides a flexible foundation for managing plans, subscriptions, and member access in your PHP applications. Define membership tiers, attach features or permissions, track activation and expiration, and integrate membership checks cleanly into your Laravel models and... | 7 | 7 | 0 | 95 | 0 | 0.3 | 15.3 | MIT | 2 years 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 |
|
| zing/laravel-eloquent-relationships | 0.86 | — | 8 | 8 | 0 | 39K | 1 | 22.4 | 58.5 | MIT | 3 weeks ago | |
| staudenmeir/laravel-merged-relations | 0.86 | 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 | |
| stayallive/laravel-inverse-relations | 0.86 | — | 31 | 31 | 1 | 0 | 0 | 1.4 | — | MIT | 2 years ago | |
| ankurk91/laravel-eloquent-relationships | 0.86 | — | 58 | 59 | 9 | 8K | 0 | 0.3 | 20.7 | MIT | — | |
| mashirou1234/laravel-when-on-relation | 0.86 | Adds a whenOnRelation helper to Laravel Eloquent so you can run callbacks or apply constraints only when a relationship is loaded or present. It keeps relation-aware models, queries, and API resources concise and free of repetitive checks. | 0 | 0 | 0 | 0 | 0 | 11.6 | — | MIT | 5 months ago | |
| sleeping-owl/with-join | 0.86 | — | 92 | 94 | 24 | 208 | 6 | 4.6 | 9.7 | MIT | 11 years ago | |
| kirschbaum-development/eloquent-power-joins | 0.86 | Eloquent Power Joins brings Laravel's magic to joins: define joins using your relationship methods, use model scopes in any context, query relationship existence via joins instead of where exists, and sort by related columns or aggregates with less code. | 1,570 | 1,578 | 102 | 7M | 9 | 43.5 | 62.0 | MIT | 1 week ago |
How can I help you explore Laravel packages today?