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
Laravel Nova tool to export and import database to Excel file
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',
],
"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"