Índice de bucle foreach de laravel
@foreach ($items as $item)
{{ $loop->index }}
@endforeach
D_ACE
@foreach ($items as $item)
{{ $loop->index }}
@endforeach
@foreach ($teams as $key => $team)
{{ str_ordinal($key + 1) }}
@endforeach
@foreach($items as $item)
$loop->iteration
@endforeach
{{ $loop->index }}