PHPackages                             codepluswander/laravel-database-seed-version - 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. codepluswander/laravel-database-seed-version

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

codepluswander/laravel-database-seed-version
============================================

Run database seeders with history tracking like migrations

v0.5.2(1y ago)0430MITPHPPHP ^8.2

Since Jan 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/codepluswander/laravel-database-seed-version)[ Packagist](https://packagist.org/packages/codepluswander/laravel-database-seed-version)[ RSS](/packages/codepluswander-laravel-database-seed-version/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (3)Versions (9)Used By (0)

Run Database seeders with history like migrations
=================================================

[](#run-database-seeders-with-history-like-migrations)

This package allows you to run `db:seed` and it will keep track which seeders were already ran and not run them again just like migrations.

Installation
------------

[](#installation)

Install via composer

```
composer require codepluswander/laravel-database-seed-version
```

Run the migrations to create the `seeders` table

```
php artisan migrate
```

Usage
-----

[](#usage)

You can set seeder files in the config file

```
php artisan vendor:publish --provider="Codepluswander\LaravelDatabaseSeedVersion\DatabaseSeedVersionServiceProvider"
```

```
