• Stars
    star
    926
  • Rank 49,328 (Top 1.0 %)
  • Language
    PHP
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Sequel Pro / Sequel Ace bundle to generate Laravel migration files from existing tables.

Laravel Migration Exporter for Sequel Pro and Sequel Ace

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

Installation

  1. Download the latest release and unzip the appropriate file, depending on whether you are using Sequel Pro or Sequel Ace.
  2. Double-click on the bundle package to install the bundle.
  3. Launch Sequel Pro or Ace!

Installation from Source

  1. Clone the repository
  2. Run ./build.sh to create Sequel Pro and Sequel Ace versions of the bundle
  3. Use the appropriate bundle in the build directory

Usage

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.

Sequel Ace Usage

The Sequel Ace bundle will only work with version 3.0.0 and later of Sequel Ace.

You will also need to give Sequel Ace permission to write to the Desktop folder via the application's preferences:

Caveats

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

More Repositories

1

eloquent-sluggable

Easy creation of slugs for your Eloquent models in Laravel
PHP
3,766
star
2

eloquent-taggable

Easily add the ability to tag your Eloquent models in Laravel.
PHP
468
star
3

image-validator

Laravel validator rules for image dimensions - Deprecated; see:
PHP
226
star
4

laravel5-package-template

Boilerplate template for Laravel 5 packages
PHP
111
star
5

thumbnailable

Laravel bundle for easy thumbnail handling in Eloquent models, inspired by sfDoctrineThumbnailablePlugin
PHP
35
star
6

eloquent-typecast

Trait for Eloquent models to force type-casting on retrieved values
PHP
23
star
7

laravel-mangopay

Easily integrate the official Mangopay SDK into your Laravel/Lumen applications.
PHP
19
star
8

phpmailer-laravel

PHPMailer bundle for Laravel 3
PHP
17
star
9

VirtualBox-Menulet

Easily launch VirtualBox® machines from your macOS Menubar.
Objective-C
11
star
10

laravel-101-slides

Laravel 101 presentation for the Winnipeg PHP Meetup group
JavaScript
11
star
11

artisan-hash

Adds an Artisan task to Laravel to generate password hashes from the CLI
PHP
9
star
12

gifdown.io

gifdown.io source code
JavaScript
9
star
13

eloquent-loggable

Easy way to track changes to your Eloquent models in Laravel 5.
PHP
7
star
14

php-qrencode

PHP qrencode extension, using libqrencode
7
star
15

eloquent-log-lazy-loading

Quick way to log (or disable) lazy loading relations on Eloquent models.
PHP
6
star
16

opensrs-php

A PHP-based client class that communicates with the TuCows OpenSRS Domain Name Registry System via an API.
PHP
5
star
17

guzzle-stripbom-plugin

Plug-in for Guzzle that strips BOMs from server responses
PHP
5
star
18

laravel-news-sitemap

A Google News sitemap generator for Laravel 4.
PHP
5
star
19

laravel-101

Laravel 101 example project for the Winnipeg PHP Meetup group
PHP
4
star
20

laravel-flasher

Simple message flasher for the Laravel framework
PHP
3
star
21

laravel-elasticsearch

UNMAINTAINED - An easy way to use the official Elastic Search client in your Laravel or Lumen applications
PHP
3
star
22

pastes

The Laravel paste bucket.
PHP
2
star
23

goalfeed

PHP
2
star
24

sandbox

Just some snippets of code
2
star
25

laravel-elasticsearch-handlers

Further easiness when using ES with Laravel
PHP
2
star
26

foundation-filestyle

Better looking HTML file inputs for Zurb Foundation 5
JavaScript
2
star
27

pixie

A simple, on-the-fly image resizing server written in NodeJS.
JavaScript
2
star
28

sluggable

Laravel bundle for easy creation of slugs for your Eloquent models.
PHP
1
star
29

twig-group

Twig filter that splits an array into a given number of groups.
PHP
1
star
30

ScrabbleClub

A website framework to help track players, games and ratings for a Scrabble® club.
PHP
1
star
31

wordlists

Word List generator for games such as Scrabble
PHP
1
star
32

jTextile

A port of the Textile markup system to jQuery
PHP
1
star
33

jquery-equalheights

Equalize heights of containers via jQuery, with additional options
JavaScript
1
star
34

laravel-resources

PHP
1
star
35

twig-natural-join

Twig filter that joins an array using a different separator for the last element (e.g. "John, Mary, Bob and Jim")
PHP
1
star
36

eloquent-replaceable

PHP
1
star