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

ActiveLibrary

ipurak/backpack-import
======================

079PHP

Since Jan 19Pushed 2y agoCompare

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

READMEChangelogDependenciesVersions (1)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. Most likely it's:

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

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 71.4% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/38bdea346e0485574de45cb1dc4463e9f900f1eac18a95f87bb0f98d4ba315f5?d=identicon)[Ipurak](/maintainers/Ipurak)

---

Top Contributors

[![ckhandla94](https://avatars.githubusercontent.com/u/27082896?v=4)](https://github.com/ckhandla94 "ckhandla94 (15 commits)")[![Ipurak](https://avatars.githubusercontent.com/u/10030420?v=4)](https://github.com/Ipurak "Ipurak (3 commits)")[![neopheus](https://avatars.githubusercontent.com/u/5160844?v=4)](https://github.com/neopheus "neopheus (2 commits)")[![st-nann](https://avatars.githubusercontent.com/u/12624157?v=4)](https://github.com/st-nann "st-nann (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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