手动销毁资源
$config = [
'path' => '/home/viest' // xlsx文件保存路径
];
$excel = new \Vtiful\Kernel\Excel($config);
$filePath = $excel->fileName('tutorial01.xlsx')
->header(['Item', 'Cost'])
->output();
// 关闭当前打开的所有文件句柄 并 回收资源
$excel->close();Last updated