mwi / laravel-db-sync
Sync remote database to local
Installs: 4 334
Dependents: 0
Suggesters: 0
Security: 0
Stars: 15
Watchers: 2
Forks: 7
Open Issues: 1
Requires
- phpseclib/phpseclib: ^2.0
This package is auto-updated.
Last update: 2025-03-14 04:35:50 UTC
README
This package allows you to sync your remote database to your local db for local dev purposes when trying to use live data.
Set Up
Add the following environment variables to your .env file ( LOCAL ONLY )
REMOTE_SYNC_URL=
REMOTE_SYNC_DB_NAME=
REMOTE_SYNC_SSH_USERNAME=
REMOTE_SYNC_SSH_PASSWORD=
Artisan Command
php aritsan mwi:db:sync