PHPackages                             luizneves01/smart-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. luizneves01/smart-seeder

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

luizneves01/smart-seeder
========================

Versioned, environment-based Seeders in Laravel.

8.0.0(4y ago)0160.5k↓46.5%MITPHPPHP &gt;=7.4.0

Since Apr 15Pushed 4y agoCompare

[ Source](https://github.com/luizneves01/smart-seeder)[ Packagist](https://packagist.org/packages/luizneves01/smart-seeder)[ RSS](/packages/luizneves01-smart-seeder/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (7)Dependencies (7)Versions (14)Used By (0)

LaravelSeeder
=============

[](#laravelseeder)

Seeding as it is currently done in Laravel is intended only for dev builds, but what if you're iteratively creating your database and want to constantly flush it and repopulate it during development?

What if you want to seed a production database with different data from what you use in development? What if you want to seed a table you've added to a database that is currently in production with new data?

LaravelSeeder takes the database migration features in Laravel and extends them to database seeders, making them "migratable". All of the functionality you have grown accustomed to with Laravel migrations have been mirrored and behave similarly for seeders.

Requirements
============

[](#requirements)

- Laravel &gt;= 8.0
- PHP &gt;= 7.4

Installation
============

[](#installation)

- Run `composer require luizneves01/smart-seeder`
- Run `php artisan vendor:publish` to push config files to your config folder if you want to override the name of the seeds folder or the name of the table where seeds are stored

Features
========

[](#features)

- Allows you to seed databases in different environments with different values.
- Allows you to "version" seeds the same way that Laravel currently handles migrations. Running `php artisan seed` will only run seeds that haven't already been run.
- Allows you to run multiple seeds of the same model/table
- Prompts you if your database is in production

Usage
=====

[](#usage)

When you install LaravelSeeder, various artisan commands are made available to you which use the same methodology you're used to using with Migrations.

seedRuns all the seeds in the "seeders" directory that haven't been run yet.seed:rollbackRollback doesn't undo seeding (which would be impossible with an auto-incrementing primary key). It just allows you to re-run the last batch of seeds.seed:resetResets all the seeds.seed:refreshResets and re-runs all seeds.seed:statusGets the status of each migratable seeder.seed:makeMakes a new seed class in the environment you specify.seed:installYou don't have to use this... it will be run automatically when you call "seed"

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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

Every ~5 days

Total

12

Last Release

1487d ago

Major Versions

7.1.0 → 8.0.02022-06-07

PHP version history (5 changes)v7.0.0PHP &gt;=7.4.0

v7.0.1PHP ^8.0.2

v7.0.6PHP ^8.0

7.0.7PHP ^7.0

v7.0.9PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/17abf841a7c976f6fd7e13cf6bb94a445104206167d13f29d156a5d20a61ea8f?d=identicon)[lftn01](/maintainers/lftn01)

---

Top Contributors

[![luizneves01](https://avatars.githubusercontent.com/u/19174385?v=4)](https://github.com/luizneves01 "luizneves01 (8 commits)")

---

Tags

laraveldatadatabaseenvironmentseedingtableversionseederseedproductionstaging

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[eighty8/laravel-seeder

Versioned, environment-based Seeders in Laravel

1858.8k](/packages/eighty8-laravel-seeder)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)

PHPackages © 2026

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