定制 sunarctech/excel-import 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

sunarctech/excel-import

Composer 安装命令:

composer require sunarctech/excel-import

包简介

Import the database from a single excel file with the comfort of GUI interface!

README 文档

README

image

Advance Excel Import 💯

GUI Interface to Import

Packagist License For PHP Scrutinizer Code Quality Github Issues Github Stars Github Forks Packagist Packagist Release Packagist Downloads

Advance Excel Import allows to import data without writing import script for each project, using this package you will be able to import data using a GUI interface withouth writing any script.

Installation

Via Composer

composer require sunarctech/excel-import

Instructions

Just install this package and make changes accordingly in configuration file

Features

  • Import an excel file
  • Maintain session lifetime for file to be saved on server via configuration
  • Supports xls,xlsx.csv
  • Choose table name and column on which excel data need to be imported

Available Configurations

Exclude Fields

Add the field which you wish should not be imported

Default
'fields_to_be_excluded' => [
    'id', 'created_at', 'updated_at', 'deleted_at'
],
File Path

Define the public path where to file should be uploaded, and read.

Default
'default_path' => 'assets/excel/global',
Import Session Life

Define the lifetime for a import session in minutes.

Default
'session_lifetime' => 10,

Publish Config file

php artisan vendor:publish --provider="Sunarc\ImportExcel\ImportExcel\ImportExcelServiceProvider" --tag="config"

Requirments

Required Packages
  • doctrine/dbal
  • illuminate/support
  • maatwebsite/excel
PHP extension
  • php_zip
  • php_xml
  • php_gd2
  • php_iconv
  • php_simplexml
  • php_xmlreader
  • php_zlib

Routes

Two routes been registered automatically which allows to import the file and choose the columns. Using import as prefix.

  • youdomainname/import/file-upload
    • Using this route you can upload the file which will be saved into public storage.
  • youdomainname/import/start-import
    • This will be used for selection and import process start.

Samples

Sample File - sampleimport.xlsx

Import File

image

Start Import

image

Created by SunArc Technologies

We are the leading Software Development Company providing end-to-end IT services & solutions to our esteemed customers in multiple industries and domains for the past 18+ years? Give us a call.

https://sunarctechnologies.com/
info@sunarctechnologies.com
+91-8764025209

🔧 Supported Versions

Versions supported.

Version Laravel Version PHP Version Support
0.1 <=7.0 7.3 - 8.x All features

License

The MIT Public License. Please see LICENSE for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固