wnx/laravel-backup-restore
Restore database backups created with spatie/laravel-backup using an interactive Artisan command. Select the backup and encryption password, then verify the restored database with built-in health checks. Requires Laravel 12+ and PHP 8.4+.
v2 no longer imports dumps through a shell. Before, the package built the import as a command string and ran it through /bin/sh -c. It now passes an argument array straight to the database client, so a value in your connection config or a dump's file name can no longer be read as shell syntax. This closes a set of command-injection risks.
Check UPGRADING.md for details.
First stable release
spatie/temporary-directory for better compatibility with other packages.--reset option to wipe database before importing backup #8How can I help you explore Laravel packages today?