For the complete documentation index, see llms.txt. This page is also available as Markdown.

获取当前写入行号

$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