Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Eager Load Pivot Relations Laravel Package

audunru/eager-load-pivot-relations

Eager load relations on pivot models in Laravel Eloquent BelongsToMany relationships. Add the EagerLoadPivotTrait to the related model to load nested pivot data such as units or quantities. Supports Laravel 8 and above.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
ajcastro/eager-load-pivot-relations 0.87 Laravel package that eager loads relations defined on pivot models in many-to-many relationships, eliminating N+1 queries when accessing nested pivot data. Use familiar Eloquent syntax to keep role_user, post_tag, and similar pivot records fast and clean. Drop-in trait and builder methods make setup... 244 — 20 — 8 4.3 2.3 — 4 years ago
View on GitHub
ardalanamini/laravel-custom-relation 0.86 A Laravel package that lets you define custom Eloquent relationships beyond the built-in hasMany, belongsTo, and morphTo types. Build relations with your own query logic and constraints, keeping complex model associations flexible and readable. 4 — 4 — 0 0.4 — MIT 3 years ago
View on GitHub
inani/lazy-belongs-to-many 0.86 Laravel package that adds a lazy-loading belongsToMany relationship, letting you defer large many-to-many queries until the collection is actually accessed. Keeps models light while still supporting pivot data, eager loading, and standard relationship methods. 24 25 2 0 0 0.2 — — —
View on GitHub
genealabs/laravel-pivot-events 0.86 Adds pivot table events to Laravel many-to-many relationships, firing PivotAttached, PivotDetached, PivotUpdated, and PivotSaved so you can hook into attach, detach, and update operations using listeners, observers, or custom pivot models. 141 142 12 80K 0 7.7 40.2 MIT 8 months ago
View on GitHub
kingmaker/laravel-many-to-many-self-relationship 0.86 A Laravel Eloquent package for many-to-many self-referential relationships like followers/following, friends, or related models. It provides a reusable trait for managing pivot records, inverse relations, and attach/detach-style operations cleanly. 18 19 2 8K 1 0.3 36.0 — —
View on GitHub
illuminatech/sync-many-attribute 0.85 Laravel package for synchronizing many-to-many related records and their attributes through a single model. Save related model attributes, including pivot data, using familiar form binding and validation, simplifying complex multi-record editing without custom sync logic. 15 — 0 — 0 0.1 — NOASSERTION —
View on GitHub
rgalstyan/laravel-aggregated-queries 0.85 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
View on GitHub
imanghafoori/eloquent-relativity 0.85 Laravel package that lets you declare Eloquent relationships without importing related model classes. Relativity infers the target model from the method name, so hasMany, hasOne, belongsTo and belongsToMany calls stay concise and your models keep fewer use statements. 148 148 13 27 1 1.2 1.0 MIT 2 years ago
View on GitHub
atldays/laravel-eloquent-join-relation 0.85 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. 0 — 0 — 0 9.1 — MIT 6 months ago
View on GitHub
ankurk91/laravel-eloquent-relationships 0.85 — 58 59 9 8K 0 0.3 20.7 MIT —
View on GitHub
xedi/eloquent-sync 0.84 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
View on GitHub
fico7489/laravel-pivot 0.84 — 527 528 53 116K 2 13.9 33.4 MIT 1 year ago
View on GitHub
signifly/laravel-pivot-events 0.84 Laravel package that fires Eloquent model events for pivot tables on many-to-many relationships. It dispatches attaching, attached, detaching, detached, updating, updated, saving, and saved events, letting you hook into sync, attach, and detach operations without custom code. 10 10 5 142 0 0.2 11.2 MIT 2 years ago
View on GitHub
fico7489/laravel-eloquent-join 0.84 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
payter/has-column-many 0.84 A Laravel package adding a hasColumnMany Eloquent relationship for storing related model IDs in a JSON or array column instead of a pivot table, with familiar attach, detach, sync, and query helpers. 1 1 1 43 0 0.0 18.7 MIT —
View on GitHub
timwassenburg/laravel-pivot-table-generator 0.84 Generate pivot table migrations for Laravel many-to-many relationships with this package. It scaffolds the intermediate tables Eloquent needs, helping you set up and maintain consistent database schemas with less boilerplate. 8 — 1 — 0 0.6 — MIT 3 years ago
View on GitHub
korridor/laravel-has-many-merged 0.84 Adds a hasManyMerged relationship to Laravel Eloquent, letting you combine several hasMany relations across models into one query-backed collection with sorting, limits, and eager loading. Ideal for unified feeds, timelines, and activity lists. 90 90 3 7K 4 13.1 30.4 MIT 6 months ago
View on GitHub
jobmetric/laravel-membership 0.83 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
View on GitHub
laravel-lang/models 0.83 Adds localized names and attributes for Laravel Eloquent models via Laravel Lang. Plug-and-play translations for model labels across multiple languages to improve UI, validation messages, and admin panels. Install with composer and follow the docs for setup. 7 7 3 286K 0 14.8 59.3 MIT 7 months ago
View on GitHub
josezenem/laravel-make-migration-pivot 0.83 A Laravel package that adds an Artisan command for generating pivot table migrations between two models, simplifying many-to-many setup with correctly named foreign keys and timestamps while reducing boilerplate. 20 20 4 2K 0 0.9 27.3 MIT 1 year ago
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package