PHPackages                             wredmedia/backpack-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. wredmedia/backpack-import

ActiveLibrary

wredmedia/backpack-import
=========================

1.0(5y ago)07MITPHP

Since Aug 22Pushed 4y agoCompare

[ Source](https://github.com/WRedMedia/backpack-import)[ Packagist](https://packagist.org/packages/wredmedia/backpack-import)[ RSS](/packages/wredmedia-backpack-import/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Backpack import
===============

[](#backpack-import)

Install
-------

[](#install)

1. This package assumes you've already installed [Backpack for Laravel](https://backpackforlaravel.com). If you haven't, please [install Backpack first](https://backpackforlaravel.com/docs/3.5/installation).
2. In your terminal:

```
composer require ckhandla94/backpack-import
```

2. Run its migrations. Publish its config files. Most likely it's:

```
php artisan vendor:publish --provider="BackpackImport\BackpackImportServiceProvider"
php artisan migrate
```

Usage in your controller
------------------------

[](#usage-in-your-controller)

Here's a simple example to use in your controller:

```
...
class ExampleCrudController extends CrudController
{
    ...
    use \BackpackImport\ImportOperation;

    public function importValidationRules()
    {
        return [
            'category_id' => 'required|exists:categories,id',
            'name'        => 'required|max:255',
            'duration'    => 'nullable|numeric',
            'price'       => 'nullable|numeric',
            'image'       => 'nullable',
            'description' => 'nullable|max:5000',
            'status'      => 'required',
        ];
    }
    ....

```

Preview
-------

[](#preview)

### Import button in List page

[](#import-button-in-list-page)

[![Screenshot-3](screenshot-1.png)](screenshot-1.png)

### Import page or Download sample file

[](#import-page-or-download-sample-file)

[![Screenshot-1](screenshot-2.png)](screenshot-2.png)

### Preview of the uploaded file and Maping with database

[](#preview-of-the-uploaded-file-and-maping-with-database)

[![Screenshot-3](screenshot-3.png)](screenshot-3.png)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

2087d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f739cee99ce042511d4b23d1c0e89b6ef9cec155a06ddc57daab7d6a628bcbe2?d=identicon)[WRedMedia](/maintainers/WRedMedia)

---

Top Contributors

[![ckhandla94](https://avatars.githubusercontent.com/u/27082896?v=4)](https://github.com/ckhandla94 "ckhandla94 (12 commits)")[![WRedMedia](https://avatars.githubusercontent.com/u/8059351?v=4)](https://github.com/WRedMedia "WRedMedia (4 commits)")[![neopheus](https://avatars.githubusercontent.com/u/5160844?v=4)](https://github.com/neopheus "neopheus (2 commits)")

### Embed Badge

![Health badge](/badges/wredmedia-backpack-import/health.svg)

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

PHPackages © 2026

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