NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1248 most downloaded on Packagist
Generates Laravel Migrations from an existing database
Latest stable
v7.4.0
Last release 6 months ago
10 May 2026
Ships fairly regularly
a new release about every 2 months
Most releases are documented
notes for 46 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
64 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Add skip foreign keys option to the command by @Pablo1Gustavo in https://github.com/kitloong/laravel-migrations-generator/pull/293
Full Changelog: https://github.com/kitloong/laravel-migrations-generator/compare/v7.3.0...v7.4.0
Support Laravel 13 in https://github.com/kitloong/laravel-migrations-generator/pull/290
Full Changelog: https://github.com/kitloong/laravel-migrations-generator/compare/v7.2.0...v7.3.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Remove unsupported spatial column types in https://github.com/kitloong/laravel-migrations-generator/pull/263
Full Changelog: https://github.com/kitloong/laravel-migrations-generator/compare/v7.1.2...v7.1.3
Generate generated column with built-in generation in https://github.com/kitloong/laravel-migrations-generator/pull/261
generation in https://github.com/kitloong/laravel-migrations-generator/pull/261Full Changelog: https://github.com/kitloong/laravel-migrations-generator/compare/v7.1.1...v7.1.2
Fix #258 Get schema by schema name in https://github.com/kitloong/laravel-migrations-generator/pull/259
Full Changelog: https://github.com/kitloong/laravel-migrations-generator/compare/v7.1.0...v7.1.1
Support Laravel 12 in https://github.com/kitloong/laravel-migrations-generator/pull/256
Full Changelog: https://github.com/kitloong/laravel-migrations-generator/compare/v7.0.7...v7.1.0
Get only constraints for searchPath/schema in config by @vlki in https://github.com/kitloong/laravel-migrations-generator/pull/249
Full Changelog: https://github.com/kitloong/laravel-migrations-generator/compare/v7.0.6...v7.0.7
Fix #237 Generate CURRENT_TIMESTAMP with precision in https://github.com/kitloong/laravel-migrations-generator/pull/240
CURRENT_TIMESTAMP with precision in https://github.com/kitloong/laravel-migrations-generator/pull/240useCurrentOnUpdate support to datetime column type in https://github.com/kitloong/laravel-migrations-generator/pull/239Full Changelog: https://github.com/kitloong/laravel-migrations-generator/compare/v7.0.5...v7.0.6
Generate the index with user-defined type column after the column is generated in https://github.com/kitloong/laravel-migrations-generator/pull/228
Full Changelog: https://github.com/kitloong/laravel-migrations-generator/compare/v7.0.4...v7.0.5
Support PostGIS extensions on PgSQL. #222
handle. #223Full Changelog: https://github.com/kitloong/laravel-migrations-generator/compare/v7.0.3...v7.0.4
Add MariaDB Driver. https://github.com/kitloong/laravel-migrations-generator/pull/219
Full Changelog: https://github.com/kitloong/laravel-migrations-generator/compare/v7.0.2...v7.0.3
SQLite foreign key name could be null. #211
up and down return void.Full Changelog: https://github.com/kitloong/laravel-migrations-generator/compare/v7.0.1...v7.0.2
Reset default value if is autoincrement in https://github.com/kitloong/laravel-migrations-generator/pull/208
Add Laravel v11 support in https://github.com/kitloong/laravel-migrations-generator/pull/201
Test PHP 8.3 in https://github.com/kitloong/laravel-migrations-generator/pull/191
larastan/larastan in https://github.com/kitloong/laravel-migrations-generator/pull/195Add --skip-vendor to ignore vendor migrations. #182
--skip-vendor to ignore vendor migrations. #182Nothing published for this version
Check the existence of GENERATION_EXPRESSION column. #171
GENERATION_EXPRESSION column. #171Sort PgSQL index names alphabetically. #167
Bind DB Schema instance instead of singleton. #163
Update phpunit.xml by @kitloong in https://github.com/kitloong/laravel-migrations-generator/pull/162
phpunit.xml by @kitloong in https://github.com/kitloong/laravel-migrations-generator/pull/162DB::getQueryGrammar.Nothing published for this version
Use fromValue for fallback compatibility. #151
fromValue for fallback compatibility. #151Add --with-has-table to generate migrations with hasTable check. #141
--with-has-table to generate migrations with hasTable check. #141--skip-log to skip migrations log.--log-with-batch to log migrations with the default batch number.Add myclabs/php-enum:^1.6|^1.7|^1.8 to support PHP>=7.1.3. #147
myclabs/php-enum:^1.6|^1.7|^1.8 to support PHP>=7.1.3. #147Nothing published for this version
Generate anonymous migration #142
Add SQLSRV new data types by @gpibarra #135
Generate SQL Server user-defined types. #133
Update config.php placeholders.
config.php placeholders.slevomat/coding-standard rules.skip-views check.Generate index with length. #109
fullText to fulltext.level key check for MariaDB backward compatibility. #121
level key check for MariaDB backward compatibility. #121Add _int8 support in PgSQL driver by @yasming in #111
_int8 support in PgSQL driver by @yasming in #111Generate PgSQL custom column types. #65 , #75
Fallback to longText if CHECK_CONSTRAINTS is not available. #103
longText if CHECK_CONSTRAINTS is not available. #103Fix view migrations not generated if database type is PgSQL #99
Generate connection name if --connection is specified #95
--connection is specified #95DB::raw() #96Generate primary key as increments for PgSQL, SQLSrv, and SQLite.
PgSQL, SQLSrv, and SQLite.Nothing published for this version
- Support SQLite database. #86
Code refactored, abstract doctrine/dbal.
doctrine/dbal.fulltext index support.Fixed unable to generate Postgres migrations when using --connection #84
Postgres migrations when using --connection #84Fixed TypeError on generate migration files #79
money and smallmoney will now generated as decimal(19,4) and decimal(10,4) respectively. #78Nothing published for this version
Fixed memory issue when getting table names. #68
Fixed error in postgres timestamp column. #58
xml as text. #61spatialIndex() should not receive name. #62Generator will now generate views. #33
--tables and --ignore support table names without quote. #49schema.Fixed incorrect message when using --squash
--squashAdded --squash option. Generate all migrations into a single file. https://github.com/kitloong/laravel-migrations-generator/issues/20
--squash option. Generate all migrations into a single file. https://github.com/kitloong/laravel-migrations-generator/issues/20--date option. Migrations will be created with specified date. Foreign keys will be crated for specified time + 1 second. Date should be in format suitable for Carbon::parse.--table-filename option. Define table migration filename, default pattern: [datetime_prefix]_create_[table]_table.php.--fk-filename option. Define foreign key migration filename, default pattern: [datetime_prefix]_add_foreign_keys_to_[table]_table.php.kebab-case.phpstan.Use pg_get_constraintdef() to support postgresql >= 12 #44
Use pg_get_constraintdef() to support postgresql >= 12 #44
Added --useDBCollation to generate migrations with existing database collation. #23
--useDBCollation to generate migrations with existing database collation. #23SHOW COLUMNS statement #34_inet4 as text #37now() with useCurrent() #39Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.