LaraNotes
Search…
Migration 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.

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

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

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

GitHub - kitloong/laravel-migrations-generator: Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.
GitHub
​
​
Copy link
On this page
Laravel Migrations Generator
Supported Database
Version Compatibility
Install
Learn More