PHPackages                             sunarctech/excel-import - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. sunarctech/excel-import

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

sunarctech/excel-import
=======================

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

v0.2(4y ago)18MITPHPPHP ^7.3|^8.0

Since Jan 31Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sunarc-technologies/advanced-excel-import)[ Packagist](https://packagist.org/packages/sunarctech/excel-import)[ Docs](https://github.com/sunarcrajneesh/excel-import)[ RSS](/packages/sunarctech-excel-import/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (4)Used By (0)

[![image](https://user-images.githubusercontent.com/45708520/152330764-01e40664-832a-47fd-8141-d2249e2e36a3.png)](https://user-images.githubusercontent.com/45708520/152330764-01e40664-832a-47fd-8141-d2249e2e36a3.png)

Advance Excel Import 💯
======================

[](#advance-excel-import-)

##### *GUI Interface to Import*

[](#gui-interface-to-import)

[![Packagist License](https://camo.githubusercontent.com/d8efc0cf86ff9d83e7186a2d0b5fbab137f8c11b6ab86701b08dd1007ad619b4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73756e61726372616a6e656573682f657863656c2d696d706f7274)](LICENSE) [![For PHP](https://camo.githubusercontent.com/4cc2d5b2dcc84067187999a4dbd1bd74629f45169e4195eb125f6658c397107b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e33253230746f253230382e782d6f72616e67652e737667)](https://github.com/sunarcrajneesh/excel-import) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/bf78a3955c0fa65e983726fd5a8366b7cbc75d670cf64e20936e9cc73491f815/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f73756e61726372616a6e656573682f657863656c2d696d706f72742e737667)](https://camo.githubusercontent.com/bf78a3955c0fa65e983726fd5a8366b7cbc75d670cf64e20936e9cc73491f815/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f73756e61726372616a6e656573682f657863656c2d696d706f72742e737667) [![Github Issues](https://camo.githubusercontent.com/977b59f226c874378c33e3846aa87bf41a3398030745a980357e416a350e1565/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f73756e61726372616a6e656573682f657863656c2d696d706f7274)](https://github.com/sunarcrajneesh/excel-import/issues) [![Github Stars](https://camo.githubusercontent.com/d350b9364534fed448d6001e0f85a9d3331a531e995900b2e27e948d807bc3b7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f73756e61726372616a6e656573682f657863656c2d696d706f7274)](https://camo.githubusercontent.com/d350b9364534fed448d6001e0f85a9d3331a531e995900b2e27e948d807bc3b7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f73756e61726372616a6e656573682f657863656c2d696d706f7274) [![Github Forks](https://camo.githubusercontent.com/5a4035daace6b60ad2533f5caaad2a94a74724a3636dd545ffb54e8c513c7e94/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f73756e61726372616a6e656573682f657863656c2d696d706f7274)](https://camo.githubusercontent.com/5a4035daace6b60ad2533f5caaad2a94a74724a3636dd545ffb54e8c513c7e94/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f73756e61726372616a6e656573682f657863656c2d696d706f7274) [![Packagist](https://camo.githubusercontent.com/d5767073ffc3dd84fd6154a9ef69c02b276dc01a674d6525a984daac6cd5f4af/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b6167652d73756e617263746563682f657863656c2d2d696d706f72742d626c7565)](https://packagist.org/packages/sunarctech/excel-import) [![Packagist Release](https://camo.githubusercontent.com/dcf0cd69426694eab25f479726127e4c231aa108c395e2c7fb3ac4ebab0aa7dd/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f73756e617263746563682f657863656c2d696d706f7274)](https://packagist.org/packages/sunarctech/excel-import) [![Packagist Downloads](https://camo.githubusercontent.com/8770935d47a92babb36fa3bb367ea3be1931644eb875be8b870442b3093d6c25/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73756e617263746563682f657863656c2d696d706f7274)](https://packagist.org/packages/sunarctech/excel-import)

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
------------

[](#installation)

Via Composer

```
composer require sunarctech/excel-import
```

Instructions
------------

[](#instructions)

Just install this package and make changes accordingly in configuration file

Features
--------

[](#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
------------------------

[](#available-configurations)

##### Exclude Fields

[](#exclude-fields)

Add the field which you wish should not be imported

##### Default

[](#default)

```
'fields_to_be_excluded' => [
    'id', 'created_at', 'updated_at', 'deleted_at'
],
```

##### File Path

[](#file-path)

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

##### Default

[](#default-1)

```
'default_path' => 'assets/excel/global',
```

##### Import Session Life

[](#import-session-life)

Define the lifetime for a import session in minutes.

##### Default

[](#default-2)

```
'session_lifetime' => 10,
```

### Publish Config file

[](#publish-config-file)

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

Requirments
-----------

[](#requirments)

###### Required Packages

[](#required-packages)

- doctrine/dbal
- illuminate/support
- maatwebsite/excel

###### PHP extension

[](#php-extension)

- php\_zip
- php\_xml
- php\_gd2
- php\_iconv
- php\_simplexml
- php\_xmlreader
- php\_zlib

Routes
------

[](#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
-------

[](#samples)

###### Sample File - [sampleimport.xlsx](https://github.com/sunarcrajneesh/excel-import/files/7991831/sampleimport.xlsx)

[](#sample-file---sampleimportxlsx)

#### Import File

[](#import-file)

[![image](https://user-images.githubusercontent.com/45708520/152282703-10cbf934-37ae-4624-88ab-a42d09ae4a8a.png)](https://user-images.githubusercontent.com/45708520/152282703-10cbf934-37ae-4624-88ab-a42d09ae4a8a.png)

#### Start Import

[](#start-import)

[![image](https://user-images.githubusercontent.com/45708520/152282848-d354cd34-864a-4290-b660-f4d4c95516c6.png)](https://user-images.githubusercontent.com/45708520/152282848-d354cd34-864a-4290-b660-f4d4c95516c6.png)

Created by SunArc Technologies
------------------------------

[](#created-by-sunarc-technologies)

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

+91-8764025209

🔧 Supported Versions
--------------------

[](#wrench-supported-versions)

Versions supported.

VersionLaravel VersionPHP VersionSupport0.1&lt;=7.07.3 - 8.xAll featuresLicense
-------

[](#license)

The MIT Public License. Please see [LICENSE](LICENSE) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

2

Last Release

1565d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7467d9bc3c24c9a4ef712ed7ba8a29a05b34d64a615ffa77199d43595ecb7587?d=identicon)[sunarc](/maintainers/sunarc)

---

Top Contributors

[![muditsunarctech](https://avatars.githubusercontent.com/u/85930852?v=4)](https://github.com/muditsunarctech "muditsunarctech (8 commits)")[![sunarcrajneesh](https://avatars.githubusercontent.com/u/45708520?v=4)](https://github.com/sunarcrajneesh "sunarcrajneesh (4 commits)")

---

Tags

excellaravelphpadvancedexcel-importsunarcsunarctechadvanced-import

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sunarctech-excel-import/health.svg)

```
[![Health](https://phpackages.com/badges/sunarctech-excel-import/health.svg)](https://phpackages.com/packages/sunarctech-excel-import)
```

###  Alternatives

[maatwebsite/excel

Supercharged Excel exports and imports in Laravel

12.7k144.3M712](/packages/maatwebsite-excel)[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M278](/packages/barryvdh-laravel-dompdf)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[elibyy/tcpdf-laravel

tcpdf support for Laravel 6, 7, 8, 9, 10, 11

3542.7M5](/packages/elibyy-tcpdf-laravel)[jimmyjs/laravel-report-generator

Rapidly Generate Simple Pdf &amp; Excel Report on Laravel 5 (Using Barryvdh/DomPdf or Barryvdh/laravel-snappy &amp; maatwebsite/excel)

580157.4k1](/packages/jimmyjs-laravel-report-generator)[ismaelw/laratex

A package for creating PDFs in Laravel using LaTeX

12730.1k](/packages/ismaelw-laratex)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
