Excel Export for Laravel Nova

A common feature request from clients is the ability to export data to Excel, so they can create their own reports and a myriad of other things. Maatwebsite, the creators of Laravel Excel, recently launched a new Nova package named Laravel Nova Excel for just this purpose. Integrating it with your Nova is really simple. First, require the package: Next, go to a Nova resource. As an example app/Nova/User.php. Add Maatwebsite\LaravelNovaExcel\Actions\DownloadExcel action to your actions() list. After this, youll get the ability to export all the Users to an Excel file. Of course, this is just the minor highlights of the package and it can do many other things. Check out their getting started guide for full details on everything you might need.

Read Full Article at https://laravel-news.com/excel-export-for-laravel-nova

Tags: , , , , , , , , , , , ,