Skip to content

Synchronize your production and development databases with a simple command

License

Notifications You must be signed in to change notification settings

mbroersen/laravel-database-synchronizer

 
 

Repository files navigation

Keep your production and development databases in sync

This package will completely synchronize the database specified as "from" and "to" in the config or through the command options.

Want to collaborate? Nice! Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require mtolhuijs/laravel-database-synchronizer

Usage

This package comes with 1 command:

  • php artisan db:sync Synchronizes your "from" database with you're "to" database
db:sync
{ --from= : Synchronize data from this database instead of the one specified in config }
{ --to= : Synchronize data to this database instead of the one specified in config }
{ --t|tables=* : Only run for given table(s) }
{ --l|limit= : Limit query rows (defaults to 5000) }

Change log

Please see the changelog for more information on what has changed recently.

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.

About

Synchronize your production and development databases with a simple command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%