title: How to display something only for the first item from the collection in Laravel Blade template
body: <p>I have a @foreach loop in the Blade template and need to apply special formatting to the first item in the collection. How do I add a conditional to check if this is the first item?</p>
  
  <pre><code>@foreach($items as $item)
      &lt;h4&gt;{{ $item-&gt;program_name }}&lt;/h4&gt;
  @endforeach`
  </code></pre>