fant0m
4 years ago
217
8
General

laravel excel installation issue

Posted 4 years ago by fant0m

I followed installation instructions on https://github.com/Maatwebsite/Laravel-Excel so I required package in composer, then I added service provider, alias and published vendor.

When I'm trying to use it like

Excel::load($file, function($reader) {

});

it throws me an error Class 'App\Http\Controllers\Admin\Excel' not found

What should I do? Shouldn't I add somewhere this $excel = App::make('excel'); ?

Please sign in or create an account to participate in this conversation.