Package

Maatwebsite Laravel Nova Excel

Supercharged Excel exports for Laravel Nova Resources

Package

maatwebsite/laravel-nova-excel

View on GitHub →

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.

Maatwebsite Laravel Nova Excel Related Articles

Excel Export for Laravel Nova image

Excel Export for Laravel Nova

Read article
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Pushsilver logo

Pushsilver

Pushsilver is simple invoicing for freelancers and small studios — send polished invoices, automate reminders, and get paid on time without the bloat.

Pushsilver
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
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
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing