Skip to content

Commit 6d22285

Browse files
committed
Add instructions to upgrade to Laravel 11
1 parent 910788a commit 6d22285

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Diff for: UPGRADE.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Upgrade Guide
22

3+
## Upgrading To 4.0 From 3.x
4+
5+
### ➡ Minimum Requirements Updated
6+
7+
Due to PHP and PHPUnit version constraints with Laravel 11, we dropped support for Laravel 7.x, 8.x and 9.x.
8+
9+
- The minimum PHP version required is now 8.1
10+
- The minimum Laravel version required is now 10
11+
12+
---
13+
14+
### ➡ Re-register Middleware
15+
16+
Laravel 11 no longer has a `app/Http/Kernel.php` to register middleware.
17+
This is now handled in `bootstrap/app.php`.
18+
19+
🔸 **Actions Required**
20+
21+
If you use Laravel 11, register the middleware in `bootstrap/app.php` as described in the README.
22+
323
## Upgrading To 3.0 From 2.x
424

525
This upgrade contains a number of small but breaking changes, as well as a huge internal makeover.

0 commit comments

Comments
 (0)