Laravel-Excel icon indicating copy to clipboard operation
Laravel-Excel copied to clipboard

[Bug]: doesnt work with Laravel 8?

Open PelixMedia opened this issue 3 years ago • 1 comments
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' image

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?

PelixMedia avatar Sep 13 '22 15:09 PelixMedia

Not sure, you might be doing something wrong there

Gurpreetatbainslabs avatar Sep 20 '22 10:09 Gurpreetatbainslabs

@PelixMedia Can you show your imports at the top of your file (use Maatwebsite\Excel etc.) ?

stein-j avatar Sep 22 '22 03:09 stein-j

Cannot reproduce as bug. If you need help, please use the discussions tab.

patrickbrouwers avatar Sep 26 '22 15:09 patrickbrouwers