Laravel Excel brings the power of PHPOffice’s PHPExcel to Laravel 5 with a touch of the Laravel Magic. It includes features like: importing Excel and CSV to collections, exporting models, array’s and views to Excel, importing batches of files and importing a file by a config file.
Sample:
Excel::create('Laravel Excel', function($excel) { $excel->sheet('Excel sheet', function($sheet) { $sheet->setOrientation('landscape'); }); })->export('xls');
See more at:
https://github.com/Maatwebsite/Laravel-Excel
Documentation:
http://www.maatwebsite.nl/laravel-excel/docs
To install with Composer:
composer require maatwebsite/excel