$reader = IOFactory::createReader($inputFileType); $reader->setReadDataOnly( true ); $spreadsheet = $reader->load($inputFileName); $sheetData = $spreadsheet->getActiveSheet()->toArray(null, true, true, true); return $sheetData; }
require_once 'vendor/autoload.php';somewhere in your project, but that must be already the case if you use ZF3
getHighestColumn()bug today and thought I must be crazy or using it wrong. Then I found the Unit test and fix for it which happened very recently. Worked like a charm.