inigopascall/clone-db
Laravel artisan command to clone medium/large MySQL databases between connections. Chunks data to avoid memory/packet limits and orders tables by foreign-key dependencies to reduce constraint errors—useful for syncing live data to staging/dev.
Adopt if:
mysqldump/pg_dump approaches.Look elsewhere if:
mysqldump + custom scripts or specialized tools like Laravel’s database:seed with batching).For Executives: "This package solves a critical bottleneck in our dev workflow: cloning production databases to staging without manual SQL dumps or hitting server limits. By automating foreign-key-aware, chunked inserts, it cuts database migration time from hours to minutes, accelerates QA testing with real data, and reduces errors from manual processes. For a one-time dev investment (~1 hour to integrate), it pays off in faster feature validation, compliance-ready testing, and lower ops overhead—especially for teams like Product and Security that rely on accurate staging environments."
For Engineering: *"This Laravel package provides a batteries-included solution for cloning medium-sized MySQL/PostgreSQL databases with:
mysqldump workflow. If it reduces clone time by >50%, we can standardize it for all Laravel environments."*For DevOps/SRE:
*"This replaces ad-hoc mysqldump scripts with a reliable, auditable process:
How can I help you explore Laravel packages today?