Laravel DB Sync is an awesome package that let you sync a remote database to a local database in Laravel. You can install this package via composer: composer require dcblogdev/laravel-db-sync

Set the remote database credentials in your.env file

To export a remote database to OVERRIDE your local database by running: php artisan db:production-sync Provide a filename for export on the fly by passing the option --filename, remember to provide.SQL php artisan db:production-sync --filename=other.sql
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners