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

Laravel Merged Relations Laravel Package

staudenmeir/laravel-merged-relations

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
xedi/eloquent-sync 0.88 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
reedware/laravel-composite-relations 0.88 Adds composite foreign key support to Eloquent relationships. Define Belongs To, Has One, and Has Many relations using multiple columns, with full eager loading and "where has" query support through a simple trait on your base model. 22 22 8 9K 0 16.7 40.0 MIT 4 months ago
View on GitHub
inani/lazy-belongs-to-many 0.88 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
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
View on GitHub
midnightluke/doctrine-relations 0.88 Adds Laravel-style relationships to Doctrine entities, letting you define hasOne, hasMany, belongsTo, and belongsToMany associations with simple attributes and query them through an intuitive, Eloquent-like API. 0 0 0 0 0 0.0 — MIT —
View on GitHub
kingmaker/laravel-many-to-many-self-relationship 0.88 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
ankurk91/laravel-eloquent-relationships 0.87 — 58 59 9 8K 0 0.3 20.7 MIT —
View on GitHub
imanghafoori/eloquent-relativity 0.87 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
kirschbaum-development/eloquent-power-joins 0.87 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
View on GitHub
Context7
sly/relation-bundle 0.87 A lightweight PHP package for defining and managing relationships between models. It simplifies linking records, querying related data, and keeping relation logic reusable, with a clean API that fits naturally into existing Eloquent workflows. 10 10 6 0 0 0.2 — — —
View on GitHub
fidum/laravel-eloquent-morph-to-one 0.87 Adds a MorphToOne relationship to Laravel's Eloquent ORM, letting a model own a single polymorphic related record. Useful when a parent has exactly one morph child, mirroring MorphMany but returning a single model with lazy and eager loading support. 34 — 4 — 0 14.4 — MIT 3 months ago
View on GitHub
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
View on GitHub
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
View on GitHub
mostafamaklad/laravel-permission-mongodb 0.87 Manage roles and permissions in Laravel with MongoDB. This package offers a MongoDB-backed implementation of familiar Laravel permission features, letting you assign roles, permissions, and direct user permissions through Eloquent-style APIs. 110 112 82 2K 8 5.5 18.9 MIT 4 years ago
View on GitHub
laravel-interaction/interactions 0.87 Laravel Interaction lets Eloquent models interact polymorphically—likes, favorites, votes, follows, bookmarks, subscriptions, and more. Attach reusable interaction types to any model, query who interacted and what they interacted with, and build social features with clean, extendable APIs. 1 — 0 — 0 8.4 — MIT 7 months ago
View on GitHub
staudenmeir/eloquent-eager-limit-x-laravel-cte 0.86 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
View on GitHub
staudenmeir/eloquent-has-many-deep-contracts 0.86 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
View on GitHub
masterfri/laravel-smart-relations 0.86 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
View on GitHub
alariva/modelmerge 0.86 Laravel package for merging duplicate Eloquent models. Move attributes and relationships from a source model into a target, then delete the obsolete record. Configurable merge behavior, events, transactions, and support for custom models. 17 17 5 0 1 1.0 2.3 MIT —
View on GitHub
staudenmeir/laravel-migration-views 0.86 Laravel Migration Views adds createView and dropView macros to Laravel's schema Blueprint, letting you create and drop database views directly in migrations alongside your tables. Supports MySQL, PostgreSQL, SQLite and SQL Server. 226 226 18 100K 0 8.3 38.6 MIT 8 months 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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core