PHPackages                             emiliogrv/nova-batch-load - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. emiliogrv/nova-batch-load

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

emiliogrv/nova-batch-load
=========================

A Laravel Nova XLS &amp; CSV importer

1.2.4(6y ago)1641.8k4[12 PRs](https://github.com/emiliogrv/nova-batch-load/pulls)MITVuePHP &gt;=7.1.0

Since Jul 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/emiliogrv/nova-batch-load)[ Packagist](https://packagist.org/packages/emiliogrv/nova-batch-load)[ RSS](/packages/emiliogrv-nova-batch-load/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (20)Used By (0)

A Laravel Nova XLS &amp; CSV importer
=====================================

[](#a-laravel-nova-xls--csv-importer)

[![Latest Version on Packagist](https://camo.githubusercontent.com/84133185026bd1cd9cd7876a5bed55d4cbe8cc586d5931e8dcccc2b40c89d438/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656d696c696f6772762f6e6f76612d62617463682d6c6f61642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/emiliogrv/nova-batch-load)[![Total Downloads](https://camo.githubusercontent.com/19b2b5a76535073322f3690437634d6f7189e4526d239695134858555177297e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656d696c696f6772762f6e6f76612d62617463682d6c6f61642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/emiliogrv/nova-batch-load)

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

[](#description)

This Package allow you to create many new entries at once, loading a file from creating resource screen.

Validation, fields and creating events are same that you declared into yours Resource's fields function.

Install
-------

[](#install)

```
composer require emiliogrv/nova-batch-load

```

Usage
-----

[](#usage)

```
// in your Nova's Resources

// ...
use Emiliogrv\NovaBatchLoad\BatchLoadField;
// ...

public function fields(Request $request)
{
    return [
        // ...

        BatchLoadField::make()
            ->accept('.xlsx') // Optional
            ->defaultTabActive(1) // Optional
            ->ignoreAttributes('some_attribute_name') // Optional
            ->keepOriginalFields('belongs|select|boolean'), // Optional

        // ...
    ];
}
```

i18n
----

[](#i18n)

To translate add this to your `resources/lang/vendor/nova/xx.json`

```
    "File empty!": "Archivo vacío",
    "Load per file": "Carga por archivo",
    "Manual loading": "Carga manual",
    "Upload file": "Subir archivo",
    "Upload file & Add Another": "Subir archivo y Añadir Otro"
```

API
---

[](#api)

FunctionTypeDefaultDescription`accept``String``.xlsx, .xls, .csv`Set the accepted file formats by extensions.`defaultTabActive``Integer``0`Set the tab default when the component is mounted.`ignoreAttributes``String`Set attribute names that will be ignored and will not appear.`keepOriginalFields``String``belongs|morph`Set which fields keep as original Nova format and options.`withoutOriginalFields`Do not show any original fields.Screenshots
-----------

[](#screenshots)

[![Screenshot from 2019-07-05 15 12 44](https://user-images.githubusercontent.com/13983577/60739532-a82cbd00-9f38-11e9-90bf-879d112a7669.png)](https://user-images.githubusercontent.com/13983577/60739532-a82cbd00-9f38-11e9-90bf-879d112a7669.png)

[![Screenshot from 2019-07-05 15 13 12](https://user-images.githubusercontent.com/13983577/60739533-a82cbd00-9f38-11e9-8580-e007f37001be.png)](https://user-images.githubusercontent.com/13983577/60739533-a82cbd00-9f38-11e9-8580-e007f37001be.png)

[![Screenshot from 2019-07-05 15 13 56](https://user-images.githubusercontent.com/13983577/60739534-a82cbd00-9f38-11e9-9625-276ce2799ce7.png)](https://user-images.githubusercontent.com/13983577/60739534-a82cbd00-9f38-11e9-9625-276ce2799ce7.png)

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

[](#contributing)

Thank you for considering contributing! Please leave your [PR](https://github.com/emiliogrv/nova-batch-load/pulls) or [issue](https://github.com/emiliogrv/nova-batch-load/issues).

Tested with Laravel Nova 2.\*
-----------------------------

[](#tested-with-laravel-nova-2)

License
=======

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% 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 ~18 days

Recently: every ~27 days

Total

7

Last Release

2391d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9778dfa491cebbc84f83a0c6e43b4aae40001712f6ae493d83d9ba6f5f52a349?d=identicon)[emiliogrv](/maintainers/emiliogrv)

---

Top Contributors

[![emiliogrv](https://avatars.githubusercontent.com/u/13983577?v=4)](https://github.com/emiliogrv "emiliogrv (10 commits)")[![AlexDesignReligion](https://avatars.githubusercontent.com/u/50958074?v=4)](https://github.com/AlexDesignReligion "AlexDesignReligion (1 commits)")

---

Tags

laravelexcelxlsxlsxcsvimportnova

### Embed Badge

![Health badge](/badges/emiliogrv-nova-batch-load/health.svg)

```
[![Health](https://phpackages.com/badges/emiliogrv-nova-batch-load/health.svg)](https://phpackages.com/packages/emiliogrv-nova-batch-load)
```

###  Alternatives

[rap2hpoutre/fast-excel

Fast Excel import/export for Laravel

2.3k24.9M47](/packages/rap2hpoutre-fast-excel)[jgrygierek/batch-entity-import-bundle

Importing entities with preview and edit features for Symfony.

101.1M1](/packages/jgrygierek-batch-entity-import-bundle)[jgrygierek/sonata-batch-entity-import-bundle

Importing entities with preview and edit features for Sonata Admin.

10951.2k](/packages/jgrygierek-sonata-batch-entity-import-bundle)[seine/seine

Seine - Write spreadsheets of various formats to a stream

1270.3k](/packages/seine-seine)

PHPackages © 2026

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