A Sequel Pro bundle to generate Laravel migration files from existing tables.
Clone or download
Colin Viebrock
Latest commit 9df973e Nov 24, 2017


Laravel Migration Exporter for Sequel Pro

A bundle for Sequel Pro that lets you generate Laravel migration files from existing tables.


  1. Clone the repository or download the latest release and unzip the file.
  2. Double-click on the ExportToLaravelMigration.spBundle package within the repository directory to install the bundle.
  3. Launch Sequel Pro!


Connect to a database, and select a table in the left-hand column. From the application menu, choose Bundles › Export › Export to Laravel Migration, or use the keyboard shortcut ⌃⌥⌘M (that's CTRL + OPTION + CMD + M).

The resulting Laravel migration file will be saved in a new directory called SequelProLaravelExport on your desktop. You can then move this file into your Laravel project (usually /database/migrations) and then run artisan migrate.


Auto-generated migration files will likely need manual adjustments. Be sure to look at the code before running artisan migrate!

Bugs, Suggestions and Contributions

Thanks to everyone who has contributed to this project!

Please use Github issues for reporting bugs, and making comments or suggestions.

See CONTRIBUTING.md for how to contribute changes.

Copyright and License

sequel-pro-laravel-export was written by Colin Viebrock and is released under the MIT License.

Copyright (c) 2016 Colin Viebrock