korridor/laravel-has-many-merged
Adds a “hasManyMerged” Eloquent relationship to merge multiple hasMany relations into one, so you can query, eager load, paginate, and sort related models through a single unified relation—ideal for combining items from different sources or tables.
Custom relationship for Eloquent that merges/combines multiple one-to-may (hasMany) relationships
How can I help you explore Laravel packages today?