mtolhuijs/laravel-database-synchronizer
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 advisedNot 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 |
Laravel database synchronizer
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:syncSynchronizes 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
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| 0.3.6 | ~5| | MIT | |
| 0.3.5 | ~5| | MIT | |
| 0.3.4 | ~5| | MIT | |
| 0.3.3 | ~5| | MIT | |
| 0.3.2 | ^5 | MIT | |
| 0.3.1 | ~5 | MIT | |
| 0.3.0 | ~5 | MIT | |
| 0.0.2 | ~5 | MIT |
