LaravelPackages.net
Acme Inc.
Toggle sidebar
artsites/nova-excel-helper

A Laravel Nova tool.

39
0
0.2.1
About artsites/nova-excel-helper

artsites/nova-excel-helper is a Laravel package for a laravel nova tool.. It currently has 0 GitHub stars and 39 downloads on Packagist (latest version 0.2.1). Install it with composer require artsites/nova-excel-helper. Discover more Laravel packages by artsites or browse all Laravel packages to compare alternatives.

Last updated

Artsites/NovaExcelHelper

Laravel Nova tool to export and import database to Excel file

Installation

composer require artsites/nova-excel-helper

Include tool in NovaServiceProvider

use Artsites\NovaExcelHelper\NovaExcelHelper;

public function tools(){
    return [
        new NovaExcelHelper
    ];
}

Publish config file

php artisan vendor:publish --provider="Artsites\NovaExcelHelper\ToolServiceProvider" --tag="config"

In the configuration file, write which models you will import and export in key-value format

// example
'classes' => [
    '\App\User' => 'User',
    '\App\News' => 'News',
],
Localization
"Nova Excel Helper": "Nova Excel Helper",
"Select resource": "Select resource",
"Pleace, select resource": "Pleace, select resource",
"Import": "Import",
"Select File": "Select File",
"Load only Excel file": "Load only Excel file",
"Export": "Export",
"Pleace, select file": "Pleace, select file",
"Success": "Success"

Star History Chart