use AppModelsPost; // Retrieve all posts that have at least one comment... $posts = Post::has('comments')->get();