PHPackages                             luna/laravel-importer - 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. luna/laravel-importer

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

luna/laravel-importer
=====================

Extensible importer for Laravel

1.0.2(8y ago)8901MITPHPPHP &gt;=7.0

Since Feb 19Pushed 8y ago2 watchersCompare

[ Source](https://github.com/DuckThom/laravel-importer)[ Packagist](https://packagist.org/packages/luna/laravel-importer)[ RSS](/packages/luna-laravel-importer/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

Laravel Importer
================

[](#laravel-importer)

[![Latest Stable Version](https://camo.githubusercontent.com/139ccfde88ba842e5e624fe3ee6bd06ecbcab6ffc0e8b7eaba767be5246e3d1e/68747470733a2f2f706f7365722e707567782e6f72672f6c756e612f6c61726176656c2d696d706f727465722f762f737461626c65)](https://packagist.org/packages/luna/laravel-importer)[![Total Downloads](https://camo.githubusercontent.com/4d27a308c700807755e09603a58f43ca1d79fa8193ed7902972708abe92fad54/68747470733a2f2f706f7365722e707567782e6f72672f6c756e612f6c61726176656c2d696d706f727465722f646f776e6c6f616473)](https://packagist.org/packages/luna/laravel-importer)[![Latest Unstable Version](https://camo.githubusercontent.com/869f626dead0d0964493021c168761185ccc35c789fcaecfb7ede081c3ba3148/68747470733a2f2f706f7365722e707567782e6f72672f6c756e612f6c61726176656c2d696d706f727465722f762f756e737461626c65)](https://packagist.org/packages/luna/laravel-importer)[![StyleCI](https://camo.githubusercontent.com/8a2f6c4197fec5c6ba9ed8f5e250be0cfef3ef5b9ccb52d518632dd75adb9d58/68747470733a2f2f7374796c6563692e696f2f7265706f732f38323334393536382f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/82349568)[![TravisCI](https://camo.githubusercontent.com/f7bb5f4fc32bd36d81737620f227684e60ac92f5b8863d1c64fc04130be8ac4d/68747470733a2f2f7472617669732d63692e6f72672f4475636b54686f6d2f6c61726176656c2d696d706f727465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/DuckThom/laravel-importer)[![License](https://camo.githubusercontent.com/8218c471ba5f7bf09a064086d3fbe2cfcee2929b1f00f2f354d302e53a792642/68747470733a2f2f706f7365722e707567782e6f72672f6c756e612f6c61726176656c2d696d706f727465722f6c6963656e7365)](https://packagist.org/packages/luna/laravel-importer)

### \# Prerequisites

[](#-prerequisites)

Before using this package, make sure you are at least running PHP 7.0 and that you have Laravel 5.4.

### \# Setup

[](#-setup)

First, add this package to your `composer.json`:

```
    composer require luna/laravel-importer "~1.0"

```

Add the service provider and facade to `config/app.php`:

```
    'providers' => [
        // ...
        // Package providers

        Luna\Importer\ServiceProvider::class,
    ],

    'aliases' => [
        // ...

        "Import" => Luna\Importer\ImporterFacade::class
    ]
```

Publish the configuration:

```
    php artisan vendor:publish --provider="Luna\Importer\ServiceProvider"

```

### \# Features

[](#-features)

This plugin currently only comes with a CSV runner which means it is only able to parse CSV files out of the box. There will be more info on how to add runners added later.

### \# Documentation

[](#-documentation)

### \# Example configuration

[](#-example-configuration)

`config/importer.php`:

```
return [
    /***********************************************************
     * Importers are used for defining specific import tasks
     * For instance, a ProductImporter could import a file with
     * products into a table.
     ***********************************************************/
    'importers' => [
        'default' => \App\Importers\ProductImporter::class
    ],

    /***********************************************************
     * Runners are used for looping through the file
     * The default is a CSV runner which will loop though
     * CSV files line-by-line. A runner uses an importer to get
     * import specific settings like the model class.
     ***********************************************************/
    'runners' => [
        'default' => \Luna\Importer\Runners\CsvRunner::class
    ]
];
```

### \# Contributing

[](#-contributing)

Pull requests for new features are welcome as long as they include tests for it as well.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~114 days

Total

3

Last Release

3190d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ddadef23323577f14410aec0aaa922c47b6bb4ba8a7c14fa0a57443e364a705?d=identicon)[DuckThom](/maintainers/DuckThom)

---

Top Contributors

[![DuckThom](https://avatars.githubusercontent.com/u/6512901?v=4)](https://github.com/DuckThom "DuckThom (39 commits)")

---

Tags

importerlaravellaravel-packagelaravel5-packagephp7

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/luna-laravel-importer/health.svg)

```
[![Health](https://phpackages.com/badges/luna-laravel-importer/health.svg)](https://phpackages.com/packages/luna-laravel-importer)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M169](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.5k](/packages/illuminate-queue)[illuminate/session

The Illuminate Session package.

9939.3M829](/packages/illuminate-session)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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