PHPackages                             ashu2693/nova-import-card - 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. [Admin Panels](/categories/admin)
4. /
5. ashu2693/nova-import-card

ActiveLibrary[Admin Panels](/categories/admin)

ashu2693/nova-import-card
=========================

A card which lets you batch import resources

v1.1.1(4y ago)11.1kMITPHPPHP ^7.4|^8.0

Since Mar 8Pushed 4y agoCompare

[ Source](https://github.com/ashu2693/nova-import-card)[ Packagist](https://packagist.org/packages/ashu2693/nova-import-card)[ RSS](/packages/ashu2693-nova-import-card/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (7)Versions (4)Used By (0)

A card which lets you batch import resources
============================================

[](#a-card-which-lets-you-batch-import-resources)

[![Latest Stable Version](https://camo.githubusercontent.com/ecb07492799a2d58536351c739fde34f648fbc51797430cf60e2be15230216df/68747470733a2f2f706f7365722e707567782e6f72672f73706172636c65782f6e6f76612d696d706f72742d636172642f762f737461626c65)](https://packagist.org/packages/sparclex/nova-import-card)[![Total Downloads](https://camo.githubusercontent.com/f5a99e40bc1d69f7a8078d9436cf1bf0f510eb1a6bc3981faf4ece5a8049598f/68747470733a2f2f706f7365722e707567782e6f72672f73706172636c65782f6e6f76612d696d706f72742d636172642f646f776e6c6f616473)](https://packagist.org/packages/sparclex/nova-import-card)[![Latest Unstable Version](https://camo.githubusercontent.com/2db45e26c847a3f9de3048c20de83592d1057252589b5a96ef2b660683c5e0aa/68747470733a2f2f706f7365722e707567782e6f72672f73706172636c65782f6e6f76612d696d706f72742d636172642f762f756e737461626c65)](https://packagist.org/packages/sparclex/nova-import-card)[![License](https://camo.githubusercontent.com/f8e3d6866cf5ce0944fab3dc975a120a46a1dbcfd325c0078f1eebb8cd2e3d5b/68747470733a2f2f706f7365722e707567782e6f72672f73706172636c65782f6e6f76612d696d706f72742d636172642f6c6963656e7365)](https://packagist.org/packages/sparclex/nova-import-card)[![StyleCI](https://camo.githubusercontent.com/d8e12df1d3d81588a242f953a9cc8c84a80372295dd4563856542e9e0e93c022/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3134393636383539322f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/149668592)[![TravisCi](https://camo.githubusercontent.com/0ac70c2071fa966c90548047e21c79d3b3cbab0a641e18b8fbb081f24295f32f/68747470733a2f2f7472617669732d63692e6f72672f53706172636c65782f6e6f76612d696d706f72742d636172642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Sparclex/nova-import-card)[![codecov](https://camo.githubusercontent.com/c42add38e5b4c521dc15da89536aa6b2370282f539834723237cf0a83a5cb6e2/68747470733a2f2f636f6465636f762e696f2f67682f53706172636c65782f6e6f76612d696d706f72742d636172642f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Sparclex/nova-import-card)

A customizable import card for laravel nova. This package is more or less just a UI for [laravel-excel](https://laravel-excel.maatwebsite.nl) import. It is however **not** an official package from Maatwebsite.

[![Nova Import Card Screenshot](https://raw.githubusercontent.com/sparclex/screenshots/master/nova-import-card-resource-index.png)](https://raw.githubusercontent.com/sparclex/screenshots/master/nova-import-card-resource-index.png)

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

[](#installation)

You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require ashu2693/nova-import-card
```

Next up, you must register the card. This is typically done in the `card` method of the corresponding resource or the `NovaServiceProvider`.

```
// in app/Providers/NovaServiceProvider.php or app/Nova/.php

// ...

public function card()
{
    return [
        // ...
        new \Sparclex\NovaImportCard\NovaImportCard(\App\Nova\User::class),
    ];
}
```

Customization
-------------

[](#customization)

To customize the import process create a new importer class. The importer class is basically just an [import implementation of the laravel-excel package](https://laravel-excel.maatwebsite.nl/3.1/imports/). The easiest way to get started is to extend `Sparclex\NovaImportCard\BasicImporter` and overwrite the different methods. During the import process you may throw an exception of the type `Sparclex\NovaImportCard\ImportException` with an error message visible for the user. You may also add a `message(): String` method to customize the success message.

The custom importer class can be registered on global or resource basis.

```
// app/Nova/User.php

class User extends Resource
{

    public static $importer = CustomImporter::class;

    // ...
}

// or app/config/nova-import-card.php

return [
    'importer' => CustomImporter::class,

    // ...
]
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.1% 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 ~10 days

Total

3

Last Release

1510d ago

PHP version history (2 changes)v1.0.0PHP ^8.0

v1.1.1PHP ^7.4|^8.0

### Community

Maintainers

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

---

Top Contributors

[![Sparclex](https://avatars.githubusercontent.com/u/2805213?v=4)](https://github.com/Sparclex "Sparclex (59 commits)")[![ashu2693](https://avatars.githubusercontent.com/u/93114107?v=4)](https://github.com/ashu2693 "ashu2693 (9 commits)")[![Naoray](https://avatars.githubusercontent.com/u/10154100?v=4)](https://github.com/Naoray "Naoray (2 commits)")[![bgMaxim](https://avatars.githubusercontent.com/u/27724661?v=4)](https://github.com/bgMaxim "bgMaxim (1 commits)")

---

Tags

laravelnova

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ashu2693-nova-import-card/health.svg)

```
[![Health](https://phpackages.com/badges/ashu2693-nova-import-card/health.svg)](https://phpackages.com/packages/ashu2693-nova-import-card)
```

###  Alternatives

[khalin/nova-link-field

A Laravel Nova Link field.

31562.2k2](/packages/khalin-nova-link-field)[digital-creative/nova-dashboard

The missing dashboard for nova.

7169.3k1](/packages/digital-creative-nova-dashboard)[marianvlad/nova-ssl-card

A Laravel Nova card for SSL certificates.

1219.9k](/packages/marianvlad-nova-ssl-card)

PHPackages © 2026

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