How to perform GroupBy of a GroupBy in laravel?
I have a reports table which looks like something as follows: Reports is monthly reports of users putting their efforts. It's many to many relationship table. id user_id project_id total_effort created_at 1 5 232 40 2023-01-23 I want to get…