Skip to content

Commit 20756d9

Browse files
committed
Update:make compatible with Laravel 12
1 parent 2704213 commit 20756d9

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

.github/workflows/laravel.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php: [ 8.0, 8.1, 8.2, 8.3 ]
15-
laravel: [ 11.*,10.*, 9.*, 8.* ]
14+
php: [ 8.0, 8.1, 8.2, 8.3 , 8.4 ]
15+
laravel: [ 8.*, 9.*, 10.*, 11.*, 12.* ]
1616
dependency-version: [ prefer-stable ]
1717
os: [ ubuntu-latest ]
1818
include:
19+
- laravel: 12.*
20+
testbench: v9.0.0
21+
database: 9.0.x-dev
1922
- laravel: 11.*
2023
testbench: v9.0.0
2124
database: 9.0.x-dev
@@ -35,6 +38,10 @@ jobs:
3538
php: 8.1
3639
- laravel: 11.*
3740
php: 8.0
41+
- laravel: 12.*
42+
php: 8.1
43+
- laravel: 12.*
44+
php: 8.0
3845
- laravel: 8.*
3946
dependency-version: prefer-lowest
4047

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
}
2929
],
3030
"require": {
31-
"php": "^8.0|^8.1|^8.2|^8.3",
32-
"illuminate/support": "~8.0|~9.0|~10.0|~11.0",
33-
"illuminate/container": "~8.0|~9.0|~10.0|~11.0",
34-
"illuminate/database": "~8.0|~9.0|~10.0|~11.0",
35-
"illuminate/pagination": "~8.0|~9.0|~10.0|~11.0"
31+
"php": "^8.0|^8.1|^8.2|^8.3|^8.4",
32+
"illuminate/support": "~8.0|~9.0|~10.0|~11.0|~12.0",
33+
"illuminate/container": "~8.0|~9.0|~10.0|~11.0|~12.0",
34+
"illuminate/database": "~8.0|~9.0|~10.0|~11.0|~12.0",
35+
"illuminate/pagination": "~8.0|~9.0|~10.0|~11.0|~12.0"
3636
},
3737
"require-dev": {
3838
"phpunit/phpunit": "8.3|8.5|9.3|^9.5|10.5.5",

0 commit comments

Comments
 (0)