PHPExcel Reader Example #01

Simple File Reader using \PhpOffice\PhpSpreadsheet\IOFactory::load()

'; $spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load($inputFileName); echo '
'; $sheetData = $spreadsheet->getActiveSheet()->toArray(null, true, true, true); var_dump($sheetData); ?>