Amit GuptaGet the latest record on the group in the most Eloquent way 😎Ok, so we need the latest record of each group from the database. Or we can say we want the latest messages of each user from the messages…May 23, 20181May 23, 20181