This may answer you question : https://laracasts.com/discuss/channels/laravel/count-in-a-blade-foreach-loop-is-there-a-better-way
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community