MarkBaker on 2.x-Calendar-Changes
MarkBaker on 2.0-Development
Modify the general settings Exc… Test for calendar when reading … Ensure that correct calendar (r… and 3 more (compare)
MarkBaker on 2.x-Calendar-Changes
Fix merge from 2.0 for the Spre… (compare)
MarkBaker on 2.x-Calendar-Changes
Xlsx Chart Reader and Writer Mi… Fix Chart Problems and Memory L… Html Reader Not Handling non-AS… and 26 more (compare)
MarkBaker on 2.x-Calendar-Changes
Test for calendar when reading … Ensure that correct calendar (r… (compare)
I'm just trying to use the PhpOffice/PhpSpreadsheet with ZF3. I installed by composer and when I used then : $inputFileType = 'Xls';
$reader = IOFactory::createReader($inputFileType);
my application show the following error: Class 'PhpOffice\PhpSpreadsheet\IOFactory' not found
$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