Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Laravel
  3. iSeed

iSeed

BSD-2-ClausePHPv3.8.0

A Laravel package that generates seed files from existing database tables, automating the reverse seeding process.

GitHubGitHub
2.9k stars387 forks0 contributors

What is iSeed?

iSeed is a Laravel package that generates database seed files from existing database tables. It solves the problem of manually creating seeders by automatically extracting table data and producing ready-to-use seed classes. This is particularly useful for populating development and testing environments with realistic data.

Target Audience

Laravel developers who need to create database seeders from existing data, especially those working on projects with complex database structures or requiring consistent test data.

Value Proposition

Developers choose iSeed because it automates a tedious manual process, supports advanced features like data filtering and event hooks, and integrates seamlessly with Laravel's Artisan command system. Its flexibility in handling different database systems and customization options makes it superior to writing seeders manually.

Overview

Laravel Inverse Seed Generator

Use Cases

Best For

  • Generating seed files from production data for development environments
  • Creating test datasets from existing database tables
  • Automating seeder generation for multiple tables at once
  • Populating databases with filtered subsets of data using WHERE clauses
  • Managing database seeds across different Laravel versions (8-13)
  • Handling large tables with chunked inserts and row limits

Not Ideal For

  • Projects relying heavily on Laravel factories for dynamic, randomized test data generation
  • Teams needing built-in data anonymization for GDPR or compliance when seeding from production
  • Applications with database schemas that differ significantly between environments, risking seed incompatibility
  • Scenarios involving complex, non-standard database constraints not covered by --skip-fk-checks

Pros & Cons

Pros

Advanced Data Filtering

Supports WHERE clauses, row limits, skips, and ordering via command options like --where and --max, allowing precise control over exported data subsets.

Event Integration Hooks

Enables pre-run and post-run Laravel events with --prerun and --postrun, facilitating custom logic execution during seeding processes.

Cross-Database Handling

Automatically manages MySQL foreign key checks and PostgreSQL sequence resets with --skip-fk-checks and --reset-sequences, reducing manual intervention.

Non-Destructive Options

Offers --noregister to avoid auto-registration and --force for overwrites, giving flexibility in seed file management without disrupting workflows.

Cons

No Data Anonymization

Lacks built-in tools for masking sensitive information, requiring manual data scrubbing before generating seeds from production databases for compliance.

Database-Specific Code

Features like --skip-fk-checks generate MySQL-specific SQL, and --reset-sequences is PostgreSQL-only, limiting portability across different database systems.

Complex Command-Line Usage

With over 15 optional parameters, the Artisan command can become verbose and error-prone, especially for filtering or multi-table operations.

Static Data Export

Only exports existing table data as-is, lacking support for dynamic transformations or randomization, unlike Laravel factories for varied test scenarios.

Frequently Asked Questions

Quick Stats

Stars2,895
Forks387
Contributors0
Open Issues0
Last commit3 months ago
CreatedSince 2013

Tags

#database-seeding#composer#laravel#artisan-commands#php-package#database-migrations#postgresql#mysql#development-tools

Built With

P
PHP
L
Laravel

Included in

Laravel13.0k
Auto-fetched 1 day ago

Related Projects

LiveWireLiveWire

A full-stack framework for Laravel that takes the pain out of building dynamic UIs.

Stars23,529
Forks1,737
Last commit3 days ago
Debug BarDebug Bar

Debugbar for Laravel (Integrates PHP Debug Bar)

Stars19,230
Forks1,606
Last commit3 days ago
IDE HelperIDE Helper

IDE Helper for Laravel

Stars14,925
Forks1,190
Last commit1 month ago
Intervention ImageIntervention Image

PHP Image Processing

Stars14,344
Forks1,490
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub