PHPackages                             viralsbackpack/backpackexcel - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. viralsbackpack/backpackexcel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

viralsbackpack/backpackexcel
============================

Import excel has relationship

1.0(7y ago)076MITPHP

Since May 7Pushed 7y agoCompare

[ Source](https://github.com/viralsoft/virals.package.import_excel)[ Packagist](https://packagist.org/packages/viralsbackpack/backpackexcel)[ Docs](https://github.com/viralslaravel/importrelationexcel)[ RSS](/packages/viralsbackpack-backpackexcel/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (7)Versions (2)Used By (0)

BackPackExcel
=============

[](#backpackexcel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4a20467c23f86874063afec261b38dfde4adfb6177db4138757b55b496a85ae3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f766972616c736261636b7061636b2f6261636b7061636b657863656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/viralsbackpack/backpackexcel)[![Total Downloads](https://camo.githubusercontent.com/046fabbd22021330c0c08f222e2768a6faf820e716dd4486f86aae97454abf9a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f766972616c736261636b7061636b2f6261636b7061636b657863656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/viralsbackpack/backpackexcel)[![Build Status](https://camo.githubusercontent.com/659b725cf61634fb25121603682c3f68e96a05614fcceaa60482a02994fdfd33/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f766972616c736261636b7061636b2f6261636b7061636b657863656c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/viralsbackpack/backpackexcel)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

Description
-----------

[](#description)

This package support import data from excel with relationship

Installation
------------

[](#installation)

Via Composer

```
$ composer require viralsbackpack/backpackexcel
```

Run command:

```
php artisan vendor:publish --provider="ViralsLaravel\ImportRelationExcel\ImportRelationExcelServiceProvider"

php artisan migrate

php artisan storage:link
```

Setup
-----

[](#setup)

\_Add trait `ViralsLaravel\ImportRelationExcel\Traits\ViralsRelationshipMethod` to model class, Eg:

```
