Description
Quickly dump and load databases
This package provides Artisan commands to quickly dump and load databases in a Laravel application.
# Create a dumpphp artisan snapshot:create my-first-dump # Make some changes to your db# ... # Create another dumpphp artisan snapshot:create my-second-dump # Load up the first dumpphp artisan snapshot:load my-first-dump # Load up the latest dumpphp artisan snapshot:load --latest # List all snapshotsphp artisan snapshot:list # Remove old snapshots. Keeping only the most recentphp artisan snapshot:cleanup --keep=2
This package supports MySQL, PostgreSQL and SQLite.
Recent Courses on Laravel Daily
[NEW] Practical Laravel Security: Packages, Secrets, Supply-Chain Attacks
7 lessons
43 min read
Roles and Permissions in Laravel 13
14 lessons
57 min
How to Structure Laravel 13 Projects
16 lessons
1 h 32 min read