How to read data from excel sheet using php

You have to download excel reader package and add these files....
require_once(spreadsheet-reader-master/php-excel-reader/excel_reader2.php');
require_once(spreadsheet-reader-master/SpreadsheetReader.php');

$tragetPath = 'excel.xls';

$Reader = new SpreadsheetReader($targetPath);

foreach ($Reader as $Row)
{
echo $Row[0];  // echo first column value
}