66[ ![ Maintainability] ( https://qlty.sh/badges/dafd3f82-6646-47ae-a73e-3007d27fd67d/maintainability.svg )] ( https://qlty.sh/gh/N3XT0R/projects/laravel-migration-generator )
77[ ![ License] ( https://poser.pugx.org/n3xt0r/laravel-migration-generator/license )] ( https://packagist.org/packages/n3xt0r/laravel-migration-generator )
88
9- > ✅ CI: Successfully tested against 16 environments (Laravel 10–12 / PHP 8.2–8.4 / MySQL 5.7 & 8.0 )
9+ > ✅ CI: Successfully tested across MySQL 5.7/8.0, PostgreSQL 15 and MSSQL 2022 (Laravel 10–12 / PHP 8.2–8.4)
1010
1111## 📦 Overview
1212
1313** Laravel Migration Generator**
14- _ A powerful CLI tool to generate Laravel migration files from an existing MySQL/Postgres/ MSSQL database schema ._
14+ _ A powerful CLI tool to generate Laravel migration files from an existing MySQL, PostgreSQL or MSSQL database._
1515
16- This tool provides a structured and extensible approach to reverse- engineering database schemas into Laravel- compatible
17- migration files. It supports foreign key constraints, correct dependency order, and customizable mapping logic –
18- enabling seamless integration into both legacy and modern Laravel projects (Laravel 5–12 supported).
16+ This tool provides a structured and extensible approach to reverse‑ engineering database schemas into Laravel‑ compatible
17+ migration files. It supports foreign key constraints, correct dependency order and customizable mapping logic – enabling
18+ seamless integration into both legacy and modern Laravel projects (Laravel 5–12 supported).
1919
2020## ✨ Features
2121
22- - ✅ Detects tables, columns, indexes, and foreign keys with precision
22+ - ✅ Detects tables, columns, indexes and foreign keys with precision
2323- 🔄 Automatically orders migrations to maintain referential integrity
2424- 🧱 Extensible design via modular definition/mapping architecture
25- - 🧩 Supports Laravel 5 to 12 (EOL versions maintained in read- only mode)
26- - 🛠 Clean, testable, and maintainable codebase
25+ - 🧩 Supports Laravel 5 to 12 (EOL versions maintained in read‑ only mode)
26+ - 🛠 Clean, testable and maintainable codebase
2727
2828## 📊 Version Compatibility
2929
@@ -41,32 +41,41 @@ enabling seamless integration into both legacy and modern Laravel projects (Lara
4141| 12.x | 8.2 – 8.4 | 7.0.0 | ❌ EOL |
4242| 12.x | 8.2 – 8.4 | 8.0.0 | ✅ Supported |
4343
44- > ⚠️ ** Important:** Version 8.0.0 introduces breaking API changes for ** Laravel 10, 11, and 12** .
44+ > ⚠️ ** Important:** Version 8.0.0 introduces breaking API changes for ** Laravel 10– 12** .
4545> All supported Laravel versions receive the new features and updated APIs, requiring updates to dependent code.
4646
47-
48-
4947---
5048
5149## ✅ Database Compatibility
5250
53- | MySQL Version | Status |
54- | ---------------| -------------|
55- | 5.7 | ✅ Supported |
56- | 8.0 | ✅ Supported |
51+ The generator works with all major engines:
52+
53+ ### MySQL
54+
55+ | Version | Status |
56+ | ---------| -------------|
57+ | 5.7 | ✅ Supported |
58+ | 8.0 | ✅ Supported |
5759
58- > The migration generator is fully compatible with MySQL 5.7 and MySQL 8.0.
59- > Features like ` CHECK ` constraints or new data types in MySQL 8 are supported.
60+ ### PostgreSQL
6061
61- > ⚠️ EOL versions are not actively developed but remain functional for legacy compatibility.
62+ | Version | Status |
63+ | ---------| -------------|
64+ | 15 | ✅ Supported |
65+
66+ ### MSSQL
67+
68+ | Version | Status |
69+ | -------------| -------------|
70+ | 2022-latest | ✅ Supported |
71+
72+ > EOL database versions remain functional for legacy compatibility.
6273
6374## ⚙ Requirements
6475
6576- PHP ≥ 8.2
66- - ` pdo_mysql ` extension
67- - ` pdo_postgres ` extension (optional)
68- - ` pdo_sqlsrv ` extension (optional)
69- - MySQL ≥ 5.7
77+ - ` pdo_mysql ` , ` pdo_pgsql ` or ` pdo_sqlsrv ` (depending on your database)
78+ - MySQL ≥ 5.7, PostgreSQL 15 or MSSQL 2022
7079
7180## 🧰 Installation
7281
@@ -156,7 +165,7 @@ covering Laravel, PHP, and MySQL versions to guarantee robust compatibility and
156165| 11 | 8.2, 8.3, 8.4 | 5.7, 8.0 | 6 |
157166| 12 | 8.2, 8.3, 8.4 | 5.7, 8.0 | 6 |
158167
159- ** Total: 16 unique test jobs** covering the supported environment combinations .
168+ ** Total: 16 unique MySQL jobs** plus additional tests for PostgreSQL and MSSQL .
160169
161170### Key CI features include:
162171
@@ -203,3 +212,6 @@ support (e.g., PostgreSQL), or enhance the customization layers.
203212- 📦 [ Packagist Package] ( https://packagist.org/packages/n3xt0r/laravel-migration-generator )
204213- 🧪 [ CI & Test Coverage] ( https://qlty.sh/gh/N3XT0R/projects/laravel-migration-generator )
205214- 📘 [ Laravel Documentation] ( https://laravel.com/docs )
215+
216+ This README reflects the repository’s current features, including explicit support for MySQL, PostgreSQL and MSSQL,
217+ correct PDO extensions and updated CI information.
0 commit comments