New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

mtolhuijs/laravel-database-synchronizer

Synchronize your production and development databases with a simple command
2,943 27

Larablocks Analysis

mtolhuijs/laravel-database-synchronizer works with Laravel 5 to 8 (latest release 0.3.6, Feb 24, 2021), all past end of life (the last on Jan 24, 2023): no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5 to 8, past end of life since Jan 24, 2023
  • No release in the last 12 months (last: Feb 24, 2021)
  • 0 downloads a month (needs 10,000)
  • 27 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Feb 24, 2021.
  • No releases in the last 12 months.
  • First released: Apr 4, 2019.
  • 7 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.

Install
composer require mtolhuijs/laravel-database-synchronizer
Latest Version:0.3.6
Laravel:5 – 8
License:MIT
Last Updated:Feb 1, 2023
Links: GitHub  ·  Packagist
Maintainer: mtolhuijs

Laravel database synchronizer

Latest Version on Packagist Total Downloads Build Status StyleCI Scrutinizer Code Quality

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

Optionally you can run php artisan vendor:publish --provider mtolhuijs\LDS\DatabaseSynchronizerServiceProvider which will create a config file in the root config folder to adjust the behavior of the package.

Usage

This package comes with 1 command:

  • php artisan db:sync Synchronizes your "from" database with your "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) }
{ --st|skip-tables=* : Skip given table(s) }
{ --l|limit= : Limit query rows (defaults to 5000) }
{ --truncate : Truncate before inserting data }

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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703
laravel/framework

The Laravel Framework.

640,572,096 35,338
laravel/tinker

Powerful REPL for the Laravel framework.

546,909,908 7,440
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

465,816,364 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

431,187,642 4,660

Version History

Version Released Laravel License
0.3.6 ~5|~6|~7|~8 MIT
0.3.5 ~5|~6|~7|~8 MIT
0.3.4 ~5|~6|~7 MIT
0.3.3 ~5|~6|~7 MIT
0.3.2 ^5 MIT