quebrar e continuar em Laravel
@for($i = 1; $i<=10; $i++)
@if($i == 4) {{-- skip 4 then continue --}}
@continue
@endif
@if($i == 7) {{-- loop escape after 7--}}
@break
@endif
{{$i}}
@endfor
kinjal suryavanshi