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.
Full Changelog: https://github.com/korridor/laravel-has-many-merged/compare/1.1.0...1.2.0
withCount, withSum and whereHasHow can I help you explore Laravel packages today?