title: How to download excel template will display with only header in Laravel Excel 3.1?
body: <p>Good Day guys,.. I need to download a excel template only show with headers,..</p>
  <p>I have good and working function code in laravel-excel version 2 of my problem,. but in version 3.1 i dont know how to code it.</p>
  <p>this is my code in version 2;</p>
  <pre><code>public function downloadCoursesTemplate()
  {
      $columns = array(
          'Course Code',
          'Course Description',
          'Status'
      );
  
      return Excel::download('Courses', function ($excel) use ($columns) {
          $excel-&gt;sheet('Courses', function ($sheet) use ($columns) {
              $sheet-&gt;fromArray($columns);
          });
      })-&gt;export('xlsx');
  }
  </code></pre>
  <p>this is the output:</p>
  <p><a href="https://i.stack.imgur.com/oHWEy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oHWEy.png" alt="enter image description here" /></a></p>
  <p>I want that on laravel-excel version 3.1</p>
  <p>There have documentation in new versions but i could not find it to solve my issue.</p>
  <p>Is anyone can help me? thanks. sorry for my English grammar.</p>