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

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

oujingwen/backpack-import
=========================

1.0.1(4y ago)025MITPHP

Since Aug 22Pushed 4y agoCompare

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

READMEChangelogDependencies (1)Versions (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. 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

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% 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 ~546 days

Total

2

Last Release

1549d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[laravel-frontend-presets/now-ui-dashboard

Laravel 11.x Front-end preset for now ui dashboard

22318.3k](/packages/laravel-frontend-presets-now-ui-dashboard)[artesaos/cidadesbr

537.7k](/packages/artesaos-cidadesbr)[twohill/silverstripe-homepagefordomain

Allows to designate a page anywhere in the tree as the homepage for a specific domain, overruling the usual homepage (which is identified by the 'home' URLSegment).

131.3k](/packages/twohill-silverstripe-homepagefordomain)

PHPackages © 2026

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