Support the ongoing development of Laravel.io →
Database Eloquent Packages

I have a collection of x amount of tables that are directly related to my user model. Currently there are 6 tables, but due to the nature of the project, this needs to be able to scale up.

Much like facebook, I need to grab the latest n number of aggregated entries from all of the x number of tables to show as an activity feed, ordered by their posted date.

Also I very much need to use Models so that things like presenters still work.

Anybody have any ideas on how to do this so that it'll still scale?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.