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的成功安装
更多回答
优秀答案推荐
我是一名优秀的程序员,十分优秀!