Read file by data type
Compiling
./configure --enable-readerexample
$config = ['path' => './tests'];
$excel = new \Vtiful\Kernel\Excel($config);
$filePath = $excel->fileName('tutorial.xlsx')
->header(['Item', 'Cost'])
->output();
$excel->openFile('tutorial.xlsx')
->openSheet();
// When reading each row of cell data, you can specify each cell data type to read
Var_dump($excel->nextRow([
\Vtiful\Kernel\Excel::TYPE_STRING, \Vtiful\Kernel\Excel::TYPE_STRING
]));Last updated