gpt4 book ai didi

php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider" BadMethodCallException(Php手工供应商:发布--provider=“Maatwebsite\Excel\ExcelServiceProvider”错误方法调用异常)

转载 作者:bug小助手 更新时间:2023-10-25 17:21:11 32 4
gpt4 key购买 nike



run "composer require maatwebsite/excel" in laravel-10 project for excel file but showed "Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead."

在laravel-10项目中对EXCEL文件运行“Composer Required maatWebSite/EXCEL”,但显示“Package phpoffice/phpexel is reasted,you‘t use to use it.use with phpoffice/phpspadsheet.”


and then run "php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider" --tag=config" but showing bad method.

然后运行“php artisan vendor:Publish--provider=”Maatwebsite\Excel\ExcelServiceProvider“--Tag=CONFIG”,但显示了错误的方法。


i added "Maatwebsite\Excel\ExcelServiceProvider::class," provider in app.php and also "'Excel' => Maatwebsite\Excel\Facades\Excel::class",aliases.

我在app.php中添加了“Maatwebsite\Excel\ExcelServiceProvider::class”提供程序和"'Excel' => Maatwebsite\Excel\Facades\Excel::class”别名。


anyone can help me out??

有谁能帮我吗??


I tried composer update but it still shows "Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead."

我尝试了Composer更新,但它仍然显示“Package phpoffice/phpexel is reposed,you‘t use to use it.改用phpoffice/phpspadsheet.”


I was expecting to successful installation of laravel excel

我期待着Laravel EXCEL的成功安装


更多回答
优秀答案推荐
更多回答

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com