Maybe has many through relationships (users comment through posts) can help.
Load all author/s, their posts and the comments on a post $authors = Author::with('posts.comments')->get();
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community