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