Skip to content
No description, website, or topics provided.
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
src Fixed the bug of unregistered types May 15, 2019
tests Separated classes, preparing for unit testing, added hash May 13, 2019
.gitignore Initial Commit May 11, 2019
LICENSE Added license May 11, 2019 Update Aug 11, 2019
composer.json Update to version v0.1.3beta May 17, 2019
phpunit.xml Separated classes, preparing for unit testing, added hash May 13, 2019


This is a simple hook for Laravel Voyager, its job to generate a migration after each database schema change.

I like using Laravel Voyager, it really handles all the headache of creating the CRUD UI of the application, because I use Voyager for most of my small projects, there's one thing bothers me when it comes to using it, database!

Because it updates the database in place, so there's no migration created, this is an issue if you made change and want to deploy it to your remote host, that's why I tried to make this little hook to handle the automatic creation of migrations.


[ ] Write tests

[ ] Minor refactoring and code clean up


  • No down() migration, only up()
  • The file and class names are not very detailed.
  • It generates a migration even if no changed happened to the table.
  • You can't change the vendor (means if mysql should stay mysql) because there's vendor specific data types.


Your PR all welcome :)

You can’t perform that action at this time.