PHPackages                             thetheago/laravel-seeder-versioning - 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. thetheago/laravel-seeder-versioning

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

thetheago/laravel-seeder-versioning
===================================

A Laravel package that provides version control for database seeders, similar to Laravel's migration system. This package tracks which seeders have been run and only executes seeders that have been modified by monitoring class content changes.

v1.1.4(6mo ago)11MITPHPPHP &gt;=8.3

Since Oct 17Pushed 6mo agoCompare

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

READMEChangelog (8)Dependencies (3)Versions (9)Used By (0)

Laravel Seeder Versioning
=========================

[](#laravel-seeder-versioning)

A Laravel package that provides version control for database seeders, similar to Laravel's migration system. This package tracks which seeders have been run and only executes seeders that have been modified by monitoring class content changes.

Features
--------

[](#features)

- Tracks seeder execution history
- Only runs modified seeders
- Validates seeder content changes using hash verification
- Simple integration with Laravel's existing seeder system
- Option to generate hash versioning without running seeders

Installation / Configuration
----------------------------

[](#installation--configuration)

You can install the package via composer:

```
composer require thetheago/laravel-seeder-versioning
```

Publish the package configuration and migrations:

```
php artisan vendor:publish --tag=seeder-versioning
```

Run the migrations to create the seeder versioning table:

```
php artisan migrate
```

Usage
-----

[](#usage)

### Running Seeders

[](#running-seeders)

To run your seeders with version control:

```
php artisan seed:migrate
```

This command will:

1. Check all your seeders
2. Compare their content against previously run versions
3. Only execute seeders that have been modified or haven't been run before

### Hash Generation Only

[](#hash-generation-only)

If you want to generate hash versions for your seeders without executing them:

```
php artisan seed:migrate --hash-only
```

This is useful for:

- Initial setup in existing projects
- Verifying which seeders would be executed
- Updating the version control table without running seeders

How It Works
------------

[](#how-it-works)

The package creates a `seeder_versioning` table that stores:

- Seeder class names
- Content hashes
- Execution timestamps

When you run `seed:migrate`, the package:

1. Scans your seeder directory
2. Generates a hash for each seeder's content
3. Compares against stored hashes
4. Executes only modified or new seeders

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

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

License
-------

[](#license)

This package is open-sourced software licensed under the MIT license.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance67

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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 ~2 days

Total

8

Last Release

195d ago

### Community

Maintainers

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

---

Top Contributors

[![thetheago](https://avatars.githubusercontent.com/u/84986716?v=4)](https://github.com/thetheago "thetheago (24 commits)")

---

Tags

laraveldatabaseversioningseeders

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/thetheago-laravel-seeder-versioning/health.svg)

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

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[spiritix/lada-cache

A Redis based, automated and scalable database caching layer for Laravel

591444.8k2](/packages/spiritix-lada-cache)[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)[illuminatech/config

Provides support for Laravel application runtime configuration managed in persistent storage

14921.0k1](/packages/illuminatech-config)[toponepercent/baum

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

3154.7k](/packages/toponepercent-baum)

PHPackages © 2026

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