Group users by cumulative summation using Laravel Eloquent?
Let's say I have a MySQL table called points with 4 columns (id, user_id, point, date). And, let's consider these dummy rows for better understanding. id user_id point date 1 1 2 2000-01-01 2 1 3 2000-01-01 3 2 5…