1. Home
  2. Blade
  3. Foreach

Foreach loop example.

#blade#loop
@foreach($items as $item)
    <li>{{ $item }}</li>
@endforeach
copy
Full Blade cheatsheet
NordVPN NordVPN