[BUG]
{X}
Class 'Maatwebsite\Excel\Excel' not found
I just pushed my working fine laravel project in a shared hosting : infinity free
Expected behavior:
Actual behavior:
Any additional information, configuration or data that might be necessary to reproduce the issue.
Me to i have this problem i cach and deploy and steel hapening
I change the maatwebsite/excel Package version from "^3.0" to "~2.1.0".
This behaviour can fix it.
You can have a try.
Downgrading the package is of course never the solution.
Make sure you run composer install on your server. It seems you are missing the dependency on the server.
If it's just a problem with the config file, replace the Excel::XLSX
by Xlsx
. It shouldn't give any problems when the package is correctly installed.