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.
Architecture fit: The package aligns well with Laravel's Eloquent ORM design principles by extending standard relationship patterns. It's particularly suited for scenarios requiring unified access to related data across multiple models (e.g., combined activity feeds), reducing the need for manual aggregation logic in controllers or services.
Integration feasibility: High feasibility due to its reliance on existing Laravel conventions. Installation via Composer and minimal model modifications (adding a single merged relationship definition) should suffice. However, the unknown repository status raises concerns about transparency and dependency management
How can I help you explore Laravel packages today?