Laravel Nova Excel
Laravel Nova Excel stats
- Downloads
- 3.4M
- Stars
- 356
- Open Issues
- 38
- Forks
- 69
Supercharged Excel exports for Laravel Nova Resources
Laravel Nova Excel Package Summary
Laravel Nova Excel, a powerful package for Laravel, enhances your Nova resource exports by allowing straightforward exports to Excel and CSV formats. This tool integrates seamlessly with Laravel Nova, ensuring that exporting data is both efficient and customizable.
Key Features
- Resource Exports to Excel/CSV: Directly export your Nova resources to Excel or CSV formats with minimal setup.
- Performance Optimized: Utilizes automatic chunking to handle large datasets efficiently, minimizing memory usage and speeding up the export process.
- Background Exporting: Support for queueing export processes, allowing large exports to be handled in the background without blocking the main application.
- Selective Exports: Provides functionality to export specific resources based on filters or selections.
- Lens Compatibility: Supports exporting from custom-defined lenses, using the lens' query to determine the data to be exported.
Quick Start Guide
-
Installation:
composer require maatwebsite/laravel-nova-excel -
Integrate with a Resource: Add the
DownloadExcelaction to your resource inapp/Nova/User.php:namespace App\Nova;use Maatwebsite\LaravelNovaExcel\Actions\DownloadExcel;class User extends Resource{public static $model = 'App\\User';public function actions(Request $request){return [new DownloadExcel,];}} -
Usage: In the Nova admin panel, select the resources you wish to export and execute the "Download Excel" action. The exported file will be available in your downloads folder.
Additional Resources
- Documentation: Comprehensive guides and documentation are available here.
- Support and Contributions: Guidelines for contributing to the package can be found here. Support options are detailed here.
License
Laravel Nova Excel is open-sourced software licensed under the MIT license but also operates as Postcardware. If you use the software in your production environment, the developers appreciate receiving a postcard from your hometown as a token of gratitude.
Developed By Spartner (formerly Maatwebsite): A strategic development partner specializing in custom-built web software using Laravel. For more information or to inquire about their services, visit Spartner.software.
This package not only simplifies the process of exporting data from your Laravel application but also ensures that it can handle large datasets with ease, making it a must-have tool for developers looking to enhance their Laravel Nova implementation.