title: Read xlsx convert to array
body: <p>Is it possible to read the following xlsx file with PHP and then convert it to a array like this?</p>
  
  <p>I think I need a Excel class that supports coordinates.</p>
  
  <p><img src="https://i.imgur.com/dRoLj3W.png" alt="img"></p>
  
  <pre><code>array("Date" =&gt; "05-jan", "Room" =&gt; "205", "Activity" =&gt; "");
  array("Date" =&gt; "05-jan", "Room" =&gt; "209", "Activity" =&gt; "Test1");
  
  array("Date" =&gt; "06-jan", "Room" =&gt; "205", "Activity" =&gt; "");
  array("Date" =&gt; "06-jan", "Room" =&gt; "205", "Activity" =&gt; "Test2");
  
  array("Date" =&gt; "07-jan", "Room" =&gt; "205", "Activity" =&gt; "");
  array("Date" =&gt; "07-jan", "Room" =&gt; "209-pc", "Activity" =&gt; "Test3");
  
  array("Date" =&gt; "08-jan", "Room" =&gt; "205", "Activity" =&gt; "");
  array("Date" =&gt; "08-jan", "Room" =&gt; "209-pc", "Activity" =&gt; "");
  
  array("Date" =&gt; "09-jan", "Room" =&gt; "205", "Activity" =&gt; "");
  array("Date" =&gt; "09-jan", "Room" =&gt; "209-pc", "Activity" =&gt; "");
  </code></pre>
  
  <p>With this code I get the content.</p>
  
  <p><a href="https://github.com/nuovo/spreadsheet-reader" rel="nofollow noreferrer">https://github.com/nuovo/spreadsheet-reader</a></p>
  
  <pre><code>require('php-excel-reader/excel_reader2.php');
  require('SpreadsheetReader.php');
  $Reader = new SpreadsheetReader('2015.xlsx');
   $Sheets = $Reader -&gt; Sheets();
  
  
  foreach ($Sheets as $Index =&gt; $Name)
  {
  
      $Reader -&gt; ChangeSheet($Index);
  
      foreach ($Reader as $Row)
      {
          print_r($Row);
      }
  }
  </code></pre>
  
  <p>OUTPUT</p>
  
  <pre><code>Array ( [0] =&gt; [1] =&gt; [2] =&gt; 2 - 2015 [3] =&gt; [4] =&gt; [5] =&gt; [6] =&gt; )
  Array ( [0] =&gt; [1] =&gt; [2] =&gt; 5-Jan [3] =&gt; 6-Jan [4] =&gt; 7-Jan [5] =&gt; 8-Jan[6] =&gt; 9-Jan ) 
    Array ( [0] =&gt; [1] =&gt; [2] =&gt; Monday [3] =&gt; Tuesday [4] =&gt; Wednesday [5] =&gt; Thursday [6] =&gt; Friday ) 
     Array ( [0] =&gt; 205 [1] =&gt; Fo. [2] =&gt; [3] =&gt; [4] =&gt; [5] =&gt; [6] =&gt; ) 
    Array ( [0] =&gt; 24+ [1] =&gt; Ef. [2] =&gt; [3] =&gt; [4] =&gt; [5] =&gt; [6] =&gt; ) 
     Array ( [0] =&gt; 209-pc [1] =&gt; Fo. [2] =&gt; Test1 [3] =&gt; Test2 [4] =&gt; Test3 [5] =&gt; [6] =&gt; ) 
  Array ( [0] =&gt; 24 [1] =&gt; Ef. [2] =&gt; [3] =&gt; [4] =&gt; [5] =&gt; [6] =&gt; ) 
  </code></pre>