Laravel-Excel
Laravel-Excel copied to clipboard
[Bug]: doesnt work with Laravel 8?
trafficstars
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
- [X] Yes, it's still reproducable
What version of Laravel Excel are you using?
3.1
What version of Laravel are you using?
8.83.23
What version of PHP are you using?
7.4.4
Describe your issue
I have installed Laravel Excel like the docs. But i get this error:
Undefined type 'Maatwebsite\Excel\Excel'

This error comes in the /app/excel.php and in every class where i try to use use Maatwebsite\Excel\Facades\Excel;
Some idea what i can do?
Not sure, you might be doing something wrong there
@PelixMedia Can you show your imports at the top of your file (use Maatwebsite\Excel etc.) ?
Cannot reproduce as bug. If you need help, please use the discussions tab.