Read file (full amount)
The file is not supported for the
windows
system.Extended version is greater than or equal to
1.2.7
;
Compiling
add --enable-reader
when compiling
./configure --enable-reader
Example
$config = ['path' => './tests'];
$excel = new \Vtiful\Kernel\Excel($config);
$filePath = $excel->fileName('tutorial.xlsx')
->header(['Item', 'Cost'])
->output();
$data = $excel->openFile('tutorial.xlsx')
->openSheet()
->getSheetData();
var_dump($data)
Last updated
Was this helpful?