LaraNotes
Search
K
Links
Comment on page

Migration Generator

Laravel Migrations Generator

Generate Laravel Migrations from an existing database, including indexes and foreign keys!
This package is cloned from https://github.com/Xethron/migrations-generator and updated to support Laravel 5.6 and above, with a lot of feature improvements.

Supported Database

Currently, Generator support generate migrations from:
  • MySQL
  • PostgreSQL
  • SQL Server

Version Compatibility

Laravel
Version
8.x
5.x
7.x
5.x
6.x
5.x
5.8.x
5.x
5.7.x
5.x
5.6.x
5.x
5.5 and below
https://github.com/Xethron/migrations-generator

Install

The recommended way to install this is through composer:
composer require --dev "kitloong/laravel-migrations-generator"

Learn More