composer require phpoffice/phpspreadsheet
$spreadsheet = IOFactory::load('模板.xlsx');
其他方法参考:php 使用phpoffice/phpspreadsheet拓展操作excel
上一篇
下一篇