在composer.json中添加
运行composer update
在config中添加
运行 php artisan vendor:publish 添加配置文件
方法中直接导出
注意: 引入Excel