dzorogh/nova-card-data-update 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dzorogh/nova-card-data-update

Composer 安装命令:

composer require dzorogh/nova-card-data-update

包简介

A universal Laravel Nova card to update data with Excel file.

README 文档

README

image

Useful card for Laravel Nova, when you need data editing interface with a lot of mass update actions. In this situation, import/export to xlsx files is good option. This card provides two simple actions:

  1. Run excel export script and download file
  2. Upload file and run import file

Installation

composer require dzorogh/nova-card-excel-data-update

Also, you must have imports and exports from popular package Laravel Excel:

composer require maatwebsite/excel

More docs: https://docs.laravel-excel.com/3.1/getting-started/installation.html

Usage

It can be used everywhere in Laravel Nova where any other card can be used.

For example, in app/Nova/NovaServiceProvider.php to show card at dashboard:

    use Dzorogh\ExcelDataUpdate\ExcelDataUpdate;
    
    /**
     * Get the cards that should be displayed on the default Nova dashboard.
     *
     * @return array
     */
    protected function cards()
    {
        return [
            new ExcelDataUpdate(new ExportClass, new ImportClass)
        ];
    }

ExportClass and ImportClass are described here: https://docs.laravel-excel.com/

Todo

  • English translation
  • Uploading results
  • Percents on upload and edit
  • Instructions how to use with queues
  • Export/Import errors

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-02-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固