$config = [ 'path' => './tests' ]; $fileObject = new \Vtiful\Kernel\Excel($config); $fileObject->fileName('tutorial.xlsx') ->header(['name', 'age']) ->data([ ['viest', 21], ]); var_dump($fileObject->getCurrentLine()); // 2
Last updated 3 years ago