This package is abandoned and no longer maintained. The author suggests using the laravel-enso/migrator package instead.

Database synchronization migrations-generator for Laravel

2.1.2 2018-01-11 08:51 UTC

This package is not auto-updated.

Last update: 2022-02-01 13:08:33 UTC


Codacy Badge StyleCI License Total Downloads Latest Stable Version

Database synchronization migrations-generator for Laravel.


Adds the ability to easily sync your model's DB states between development and production, by:

  • generating migrations for the models you choose, and then by
  • running the generated migrations on your other systems (staging/live/etc.)

Installation Steps

  1. Publish the configuration file
    php artisan vendor:publish --tag=dbsync-config`
  2. Add the DbSyncMigrations trait to models you want migrations for

NOTE You may globally disable the migration creation by editing the config/enso/dbsync.php config file and setting the dbsync flag to false


  • php artisan vendor:publish --tag=dbsync-config - configuration file
  • php artisan vendor:publish --tag=enso-config - a common alias for when wanting to update the config, once a newer version is released


The Laravel Enso Core package comes with this package included.


are welcome. Pull requests are great, but issues are good too.


This package is released under the MIT license.