PHPExcel Reader Example #03
Simple File Reader using the \PhpOffice\PhpSpreadsheet\IOFactory to Return a Reader
';
$objReader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType);
$spreadsheet = $objReader->load($inputFileName);
echo '
';
$sheetData = $spreadsheet->getActiveSheet()->toArray(null, true, true, true);
var_dump($sheetData);
?>