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

Shift logo

Shift

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

Shift
Celebian logo

Celebian

Celebian is a social media marketing agency specializing in helping their clients go viral on TikTok. Whether you're looking to reach a bigger audience or gain more Tiktok followers, likes, and views, they've got you covered.

Celebian
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Tighten logo

Tighten

We help companies turn great ideas into amazing apps, products, and services.

Tighten
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
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