maatwebsite / laravel-nova-excel
Supercharged Excel exports for Laravel Nova Resources
Installs: 4 669 685
Dependents: 6
Suggesters: 0
Security: 0
Stars: 383
Watchers: 18
Forks: 75
Open Issues: 39
Requires
- php: ^7.1||^8.0
- laravel/nova: ^4.0|^5.0
- laravie/serialize-queries: ^1.0|^2.0|^3.0
- maatwebsite/excel: ^3.1.57
- 2.0.x-dev
- 1.3.x-dev
- 1.3.11
- 1.3.10
- 1.3.9
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.x-dev
- 1.2.11
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.x-dev
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.x-dev
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-next
- dev-link-to-docs-on-com-domain-10
- dev-link-to-docs-on-com-domain
This package is auto-updated.
Last update: 2024-12-15 12:07:51 UTC
README
Supercharge your Laravel Nova resource exports
Quickstart · Documentation · Blog · Contributing · Support
✨ Features
-
Easily export resources to Excel. Supercharge your Nova resources and export them directly to an Excel or CSV document. Exporting has never been so easy.
-
Supercharged resource exports. Export resources with automatic chunking for better performance. You provide us the query, we handle the performance. Exporting even larger resources? No worries, Laravel Nova Excel has your back. You can queue your exports so all of this happens in the background.
-
Export based on filters and selection. Select or filter only certain resources and export only those to Excel!
-
Export lenses. Got custom lenses defined? When exporting from a lens, it will use the query of the lens to determine which data needs to be exported!
🚀 5 minutes quick start
💡 Require this package in the composer.json
of your Laravel project. This will download the package and Laravel-Excel.
composer require maatwebsite/laravel-nova-excel
💪 Go to your resource. As example we'll use the app/Nova/User.php
. Add DownloadExcel
action to your actions()
list.
<?php namespace App\Nova; use Illuminate\Http\Request; use Maatwebsite\LaravelNovaExcel\Actions\DownloadExcel; class User extends Resource { /** * The model the resource corresponds to. * * @var string */ public static $model = 'App\\User'; // Other default resource methods /** * Get the actions available for the resource. * * @param \Illuminate\Http\Request $request * * @return array */ public function actions(Request $request) { return [ new DownloadExcel, ]; } }
🔥 Go to your resource in your Nova admin panel, select all or some users and click "Download Excel"
📄 Find your users.xlsx
in your downloads folder!
More installation instructions can be found at: https://docs.laravel-excel.com/nova/1.1/getting-started/installation.html
🎓 Learning Laravel Excel
You can find the full documentation of Laravel Nova Excel on the website.
We welcome suggestions for improving our docs. The documentation repository can be found at https://github.com/SpartnerSoftware/laravel-excel-docs.
Some articles and tutorials can be found on our blog: https://medium.com/maatwebsite/laravel-excel/home
📬 License & Postcardware
Laravel Excel is created with love and care by Spartner (formerly known as Maatwebsite) to give back to the Laravel community. It is completely free (MIT license) to use, however the package is licensed as Postcardware. This means that if it makes it to your production environment, we would very much appreciate receiving a postcard from your hometown.
Spartner
Markt 2
6231 LS Meerssen
The Netherlands
More about the license can be found at: https://docs.laravel-excel.com/3.1/getting-started/license.html
Created by Spartner (formerly Maatwebsite)
We are a strategic development partner, creating web-based custom built software from Laravel. In need of a digital solution for your challenge? Give us a call.
https://spartner.software
info@spartner.nl
+31 (0) 10 - 7449312