PHPackages                             alirezadp10/seeder - 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. [Database &amp; ORM](/categories/database)
4. /
5. alirezadp10/seeder

ActiveLibrary[Database &amp; ORM](/categories/database)

alirezadp10/seeder
==================

Improving seeding functionality of Laravel framework.

v1.0.0(4y ago)022MITPHPPHP &gt;=7.1

Since Mar 21Pushed 3y ago1 watchersCompare

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

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

Seeder
======

[](#seeder)

*Made Laravel Seeding More Useful*
----------------------------------

[](#made-laravel-seeding-more-useful)

### 😞 Problem

[](#disappointed-problem)

Assume you have an application and in the middle of developing you should inject some data in your existing tables.

So you write your seeder and put insertion query and do your right thing and in the end you come to a question.

**How run this seeder in different environments only once and not more?**

The problem is this data should insert to all environments And you don't sure this seeder doesn't execute more than once.

### 💥 Solution

[](#collision-solution)

Seeder is a layer that changes Laravel seeding behavior slightly.

By the way, the seeding approach that is currently used in laravel, doesn't have support for seeding classes one time per running.

With this package you can define your seeders like before, but the task of executing them, is the responsibility of `php artisan seed` command.

By doing that you can put `seed` command in your CI configuration without worrying about some seeders execute several times.

### 📥 Installation

[](#inbox_tray-installation)

You can install the package via composer:

```
composer require alirezadp10/seeder

```

Create seeds table:

```
php artisan migrate

```

You can also migrate previous seeders file to new style if you want:

```
php artisan seeder:update

```

### ❗ Notice

[](#exclamation-notice)

After installing this package your seeder files generate like migration files, which you are already familiar with them.

### License

[](#license)

MIT

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1510d ago

### Community

Maintainers

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

---

Top Contributors

[![alirezadp10](https://avatars.githubusercontent.com/u/33761594?v=4)](https://github.com/alirezadp10 "alirezadp10 (3 commits)")

---

Tags

laraveldatabaseseeder

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alirezadp10-seeder/health.svg)

```
[![Health](https://phpackages.com/badges/alirezadp10-seeder/health.svg)](https://phpackages.com/packages/alirezadp10-seeder)
```

###  Alternatives

[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)[jlapp/smart-seeder

Smart Seeder adds the same methology to seeding that is currently used with migrations in order to let you seed in batches, seed to production databases or other environments, and to rerun seeds without wiping out your data.

1903.1k](/packages/jlapp-smart-seeder)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)[eighty8/laravel-seeder

Versioned, environment-based Seeders in Laravel

1857.1k](/packages/eighty8-laravel-seeder)

PHPackages © 2026

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