I am building a futsal league website where fixtures and results are to be displayed. The Result Model is like this
class Result extends Model {
//
protected $fillable = ['team_1', 'team_2', 'goals_1', 'goals_2', 'date', 'mom'];
}
Is there a way that I can loop through this data in blade and group by date?
Thanks in advance