Laravel Nova Excel

maatwebsite/laravel-nova-excel image

Laravel Nova Excel stats

Downloads
3.4M
Stars
356
Open Issues
38
Forks
69

View on GitHub →

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

  1. Installation:

    composer require maatwebsite/laravel-nova-excel
  2. Integrate with a Resource: Add the DownloadExcel action to your resource in app/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,
    ];
    }
    }
  3. 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.

SpartnerNL photo

Maatwebsite has been renamed to Spartner!

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Maatwebsite Laravel Nova Excel Related Articles

Excel Export for Laravel Nova image

Excel Export for Laravel Nova

Read article
The Certification of Competence for Laravel logo

The Certification of Competence for Laravel

A community-driven, proctored assessment across 4 levels designed to validate real-world Laravel knowledge, from Junior to mastery-level Artisan. Official Vue.js, Official Nuxt, Angular, React, JS certifications also available.

The Certification of Competence for Laravel
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $9500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
LoadForge logo

LoadForge

Scalable load testing for web apps & APIs. Simulate real-world traffic and identify breaking points and performance limits with powerful, scalable load tests designed for Laravel.

LoadForge
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Securing Laravel logo

Securing Laravel

The essential security resource for Laravel devs, covering everything you need to keep your apps secure. Sign up to receive weekly security tips and monthly in depth articles, diving deep into security concepts you need to know!

Securing Laravel