Skip to content

Commit b61d5f1

Browse files
committed
Laravel 11 support
1 parent 867c7d0 commit b61d5f1

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@ Generate Laravel Migrations from an existing database, including indexes and for
99

1010
| Branch / Tag | Laravel support | PHP support | Notes |
1111
|---------------|-----------------|-------------|-------|
12-
| `laravel-9.x` (`9.0.0`) | 9.x / 10.x | >= 8.2 | Current line. Install with `composer require oscarafdev/migrations-generator:^9.0` to target Laravel 9+. |
13-
| Legacy `2.x` (`2.0.24`) | 5.x – 8.x | ^5.6 || ^7.0 || ^8.0 | Last release for older apps (ships with the legacy generator dependency). |
12+
| `laravel-11.x` (`11.0.0`) | 11.x | >= 8.2 | Install with `composer require oscarafdev/migrations-generator:^11.0`. |
13+
| `laravel-10.x` (`10.0.0`) | 10.x | >= 8.1 | Use for Laravel 10 apps (`^10.0`). |
14+
| `laravel-9.x` (`9.0.0`) | 9.x | >= 8.2 | Use `^9.0` to stay on the Laravel 9-compatible line. |
15+
| Legacy `2.x` (`2.0.24`) | 5.x ? 8.x | ^5.6 || ^7.0 || ^8.0 | Last release for older apps (ships with the legacy generator dependency). |
1416

15-
Each Laravel major will get its own maintenance branch/tag series (e.g. `laravel-11.x` `11.y.z`). See `doc/versions.md` for the full compatibility matrix.
17+
Each Laravel major has its own maintenance branch/tag series (e.g. `laravel-11.x` -> `11.y.z`). See `doc/versions.md` for the full compatibility matrix.
1618

1719
# Contact
1820

1921
https://t.me/h0rnero
2022

2123

22-
## Laravel 6/7/8/9/10 installation
24+
## Laravel 6/7/8/9/10/11 installation
2325

2426
The recommended way to install this is through composer:
2527

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
],
1818
"require": {
1919
"php": "^8.2",
20-
"illuminate/support": "^9.0 || ^10.0",
21-
"oscarafdev/laravel-4-generators": "^9.0",
20+
"illuminate/support": "^11.0",
21+
"oscarafdev/laravel-4-generators": "^11.0",
2222
"doctrine/dbal": "^3.0"
2323
},
2424
"autoload": {

doc/versions.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,19 @@ This document summarizes which platform combinations are supported by `oscarafde
1414
| 2.0.22 | 2020-08-28 | ^7.0 | ^5.0 || ^6.0 || ^7.0 | Maintenance release. |
1515
| 2.0.23 | 2020-08-28 | ^7.0 | ^5.0 || ^6.0 || ^7.0 | Adds Laravel 7 fixes. |
1616
| 2.0.24 | 2021-01-25 | ^5.6 || ^7.0 || ^8.0 | ^5.0 || ^6.0 || ^7.0 || ^8.0 | First release with Laravel 8. |
17-
| 9.0.0 | 2025-07-12 | ^8.2 | ^9.0 || ^10.0 | Aligns with the new Laravel 9 branch; depends on `laravel-4-generators` 9.x. |
17+
| 9.0.0 | 2025-07-12 | ^8.2 | ^9.0 | Laravel 9 compatibility line; depends on `laravel-4-generators` 9.x. |
18+
| 10.0.0 | 2025-07-12 | ^8.1 | ^10.0 | Laravel 10 line; depends on `laravel-4-generators` 10.x. |
19+
| 11.0.0 | 2025-07-12 | ^8.2 | ^11.0 | Laravel 11 line; depends on `laravel-4-generators` 11.x. |
1820

19-
`master` now tracks future development (Laravel 10+). For long-term support on a particular Laravel major, use the matching `laravel-<major>.x` branch (e.g., `laravel-9.x`) and tags (`9.y.z`).
21+
`master` tracks the latest development (currently Laravel 11). For long-term support on a particular Laravel major, use the matching `laravel-<major>.x` branch (e.g., `laravel-10.x`) and tags (`10.y.z`).
2022

2123
## oscarafdev/laravel-4-generators
2224

2325
| Release / Branch | PHP constraint | Laravel constraint | Notes |
2426
|---------------------|----------------|--------------------|-------|
25-
| 9.0.0 (`laravel-9.x`) | ^8.0.2 | ^9.0 &#124;&#124; ^10.0 | Use for all Laravel 9 installs. |
27+
| 11.0.0 (`laravel-11.x`) | ^8.2 | ^11.0 | Use for Laravel 11 installs. |
28+
| 10.0.0 (`laravel-10.x`) | ^8.1 | ^10.0 | Use for Laravel 10 installs. |
29+
| 9.0.0 (`laravel-9.x`) | ^8.0.2 | ^9.0 | Use for Laravel 9 installs. |
2630
| Legacy 2.x (2.0.24) | ^5.6 &#124;&#124; ^7.0 &#124;&#124; ^8.0 | ^5.0 &#124;&#124; ^6.0 &#124;&#124; ^7.0 &#124;&#124; ^8.0 | Keep for older apps. |
2731

2832
## Next steps

0 commit comments

Comments
 (0)