Skip to content

Commit e9b5964

Browse files
authored
Add support for Laravel 12 (#55)
1 parent 5d283f5 commit e9b5964

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [8.0, 8.1, 8.2, 8.3]
13-
laravel: [11.*, 10.*, 9.*, 8.*]
12+
php: [8.0, 8.1, 8.2, 8.3, 8.4]
13+
laravel: [12.*, 11.*, 10.*, 9.*, 8.*]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515
exclude:
1616
- laravel: 10.*
@@ -19,6 +19,10 @@ jobs:
1919
php: 8.0
2020
- laravel: 11.*
2121
php: 8.1
22+
- laravel: 12.*
23+
php: 8.0
24+
- laravel: 12.*
25+
php: 8.1
2226

2327
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
2428

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ In the above example the `OrderCreated` event would never be dispatched in the c
4545
Laravel | Package | Notes
4646
:---------|:----------|:----------
4747
5.8.x-7.x | 1.8.x |
48-
8.x-11.x | 2.x | >2.1.x requires PHP 8+
48+
8.x-12.x | 2.x | >2.1.x requires PHP 8+
4949

5050
### Laravel
5151
- Install this package via `composer`:

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"license": "MIT",
66
"require": {
77
"php": "^8.0",
8-
"illuminate/database": "^8.0|^9.0|^10.0|^11.0",
9-
"illuminate/events": "^8.0|^9.0|^10.0|^11.0",
10-
"illuminate/support": "^8.0|^9.0|^10.0|^11.0"
8+
"illuminate/database": "^8.0|^9.0|^10.0|^11.0|^12.0",
9+
"illuminate/events": "^8.0|^9.0|^10.0|^11.0|^12.0",
10+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0"
1111
},
1212
"authors": [
1313
{
@@ -36,6 +36,6 @@
3636
"sort-packages": true
3737
},
3838
"require-dev": {
39-
"orchestra/testbench": "^6.25.1|^7.22|^8.0|^9.0|9.x-dev"
39+
"orchestra/testbench": "^6.25.1|^7.22|^8.0|^9.0|^10.0"
4040
}
4141
}

0 commit comments

Comments
 (0)