PHPackages                             riftweb/superseeder - 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. riftweb/superseeder

ActiveLibrary

riftweb/superseeder
===================

Supercharge your Laravel database seeding with execution tracking and rollbacks! This package adds migration-like behavior to seeders, preventing duplicate runs while enabling batch management and safe rollback of seeded data. Perfect for production environments and complex seeding workflows.

1.0.3(7mo ago)162MITPHPPHP ^8.0

Since Mar 28Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/riftwebdev/SuperSeeder)[ Packagist](https://packagist.org/packages/riftweb/superseeder)[ Docs](https://github.com/riftwebdev/superseeder)[ RSS](/packages/riftweb-superseeder/feed)WikiDiscussions main Synced today

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

SuperSeeder 🚀
=============

[](#superseeder-)

[![Latest Version](https://camo.githubusercontent.com/cba653ac574bd57bfbb5f138de88ef42476af548ffaa97f502bbf74ede7bff57/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726966747765622f73757065727365656465723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/riftweb/superseeder)[![Total Downloads](https://camo.githubusercontent.com/75cd29208958ddf32b867d627dcc59f45849a39c029c6389ad5f9cde9e016fc7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726966747765622f73757065727365656465723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/riftweb/superseeder)[![License](https://camo.githubusercontent.com/bc1c6526184b1884ff38d7fa5d04ace269b2e06210c01df48ade317b3bad53ae/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f726966747765626465762f73757065727365656465723f7374796c653d666c61742d737175617265)](https://github.com/riftwebdev/SuperSeeder/blob/main/LICENSE.md)[![Website](https://camo.githubusercontent.com/3d4462bc78796e728443098e8d62908e29f44e338bba51eb4b9a7bea1cf44cef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f576562736974652d52494654253230253743253230576562253230446576656c6f706d656e742d626c61636b3f7374796c653d666c61742d737175617265)](https://riftweb.com)

A robust database seeder solution for Laravel with execution tracking and rollback capabilities. Brings migration-like behavior to your seeders! 🔄

Features ✨
----------

[](#features-)

- ✅ Track executed seeders in `seeder_executions` table
- ⏮️ Rollback seeders like migrations
- 🛡️ Prevent accidental duplicate executions
- 🔄 Batch management of seeders
- 🚦 Bypass mode for emergency executions
- 🚀 Generator command for trackable seeders

Installation 💻
--------------

[](#installation-)

Install via Composer:

```
composer require riftweb/superseeder
```

Run migrations (creates `seeder_executions` table):

```
php artisan migrate
```

Usage 🛠️
--------

[](#usage-️)

### 1. Create Trackable Seeder

[](#1-create-trackable-seeder)

```
php artisan make:superseeder UsersSeeder
```

### 2. Implement Seeder Logic

[](#2-implement-seeder-logic)

```
