Bagaimana mendapatkan item pertama di foreach di Laravel
@foreach($items as $item)
@if ($loop->first) First Item: @endif
<h4>{{ $item->program_name }}</h4>
@endforeach
Mohamad