إحصائيات

@php $colors = ['red', 'blue', 'purple']; $colorIndex = 0; @endphp @foreach($products as $idx=>$item) @if($idx % 4 == 0) @php $color = $colors[$colorIndex++ % count($colors)]; @endphp @endif
{{$item['count']}}
{{$item['name']}}
@endforeach

إحصائيات

# First Last Handle
1 Test Test Test