title: Laravel PHPExcel - Row Length Limitation Issue (xls)
body: <p>Found an interesting issue with Laravel and PHPExcel. Given the code below:</p>
  
  <pre><code>\Excel::create("TestingXLS", function($excel){
      $excel-&gt;sheet("TestingSheet1", function($sheet){
          $values = [];
          for($i = 1; $i &lt;= 257; $i++){
              $values[] = $i;
          }
  
          for($j = 1; $j &lt;= 5; $j++){
              $sheet-&gt;row($j, $values);
          }
      });
  })-&gt;download("xls");
  </code></pre>
  
  <p>What this should do is generate an <code>.xls</code> document with <strong>5 rows of 257 columns</strong>, but what actually happens is that I end up with <strong>a single row of 256 columns</strong>. Effectively, anything following column 256 (<code>IW</code> column index in Excel) and any additional rows following the first are truncated, but I can't figure out why.</p>
  
  <p>Note I've tested with <code>$i &lt;= 256;</code> as the first condition, and it generates 5 rows of 256 columns (<code>IV</code> column index) with no issue.</p>
  
  <p>I know this can be alleviated by using <code>-&gt;download("xlsx")</code>, but other requirements in the document I'm generating require that it is an <code>.xls</code> file. Also due to client requirements, I can't flip the layout from columns to rows and vice-versa.</p>
  
  <p>Anyone have any ideas on an approach to solving this?</p>