opanegro/card-export-default-template-excel

0.0.1 2019-02-08 09:48 UTC

This package is auto-updated.

Last update: 2024-05-08 22:06:17 UTC


README

Instal:

composer require opanegro/card-export-default-template-excel

Usage:

  1. Add Variable in your resource nova. example: app/Nova/Users.php
public static $exportLabelHeaders = ['ID', 'Name', 'Email'];
  1. Add Card in resource function
public function cards()
{
    return [
        new CardExportDefaultTemplateExcel(Users::class),
    ];
}