I am having a rough time trying to install the Laravel Excel (http://www.maatwebsite.nl/laravel-excel/docs) package to my Laravel 5. Here's what I've done so far:
- Added
"maatwebsite/excel": "2.*"
to my require,composer update
finishes just fine and I have all the package files - Added
'Maatwebsite\Excel\ExcelServiceProvider',
to providers array - Added
'Excel' => 'Maatwebsite\Excel\Facades\Excel',
to aliases array
Here's the problem - when I try running php artisan vendor:publish
, it tells me Nothing to publish for tag [].
When I use php artisan tinker
and run $excel = App::make('excel')
, it tells me ReflectionException with message 'Class excel does not exist'
.
What am I doing wrong?