Laravel Excel

Laravel Excel 3.0

:muscle: :fire: :rocket:

Supercharged Excel exports
A simple, but elegant wrapper around PhpSpreadsheet with the goal of simplifying exports.

Build Status StyleCI Latest Stable Version Total Downloads License

Quickstart · Documentation · Nova · Blog · Contributing · Support

- **Easily export collections to Excel.** Supercharge your Laravel collections and export them directly to an Excel or CSV document. Exporting has never been so easy. - **Supercharged exports.** Export queries with automatic chunking for better peformance. You provide us the query, we handle the performance. Exporting even larger datasets? No worries, Laravel Excel has your back. You can queue your exports so all of this happens in the background. - **Export blade views.** Want to have a custom layout in your spreadsheet? Use a HTML table in a blade view and export that to Excel. ## :rocket: 5 minutes quick start :bulb: Require this package in the `composer.json` of your Laravel project. This will download the package and PhpSpreadsheet. ``` composer require maatwebsite/excel ``` :muscle: Create an export class in `app/Exports` ``` php artisan make:export UsersExport --model=User ``` This should have created: ```php