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

Five Hidden Features of the Laravel Excel Package image

Five Hidden Features of the Laravel Excel Package

Read article
Excel Export for Laravel Nova image

Excel Export for Laravel Nova

Read article
Building your first Laravel Nova Tool image

Building your first Laravel Nova Tool

Read article
Fast Excel 5.x Adds Streaming Imports and Safer Exports image

Fast Excel 5.x Adds Streaming Imports and Safer Exports

Read article
Laravel Excel 3.0 image

Laravel Excel 3.0

Read article
Introducing Laravel Nova image

Introducing Laravel Nova

Read article

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

Let your users buy domains without leaving your app

If your Laravel app gives users a site, a storefront, or a workspace, they’ll eventually want their own domain. The name.com API lets them search, register, and connect one without leaving your product. It’s a clean REST API, so Laravel’s HTTP client is all you need.

Let your users buy domains without leaving your app

PhpStorm

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

PhpStorm

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift

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

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum