Skip to content

Commit 14d667b

Browse files
committed
feat: Laravel 12.x Compatibility
1 parent 2df3d03 commit 14d667b

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/phpunit.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,17 @@ jobs:
4949
- php: 8.4
5050
laravel: 11.*
5151
phpunit: ~10.5
52-
52+
# Laravel 12.x
53+
- php: 8.2
54+
laravel: 12.*
55+
phpunit: ~11.5
56+
- php: 8.3
57+
laravel: 12.*
58+
phpunit: ~11.5
59+
- php: 8.4
60+
laravel: 12.*
61+
phpunit: ~11.5
62+
5363
name: Laravel${{ matrix.laravel }}-PHP${{ matrix.php }}
5464

5565
steps:

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
"license": "Apache-2.0",
2222
"require": {
2323
"php": ">=8.0",
24-
"illuminate/support": "~8.0|~9.0|~10.0|~11.0",
25-
"illuminate/database": "~8.0|~9.0|~10.0|~11.0",
26-
"illuminate/console": "~8.0|~9.0|~10.0|~11.0",
24+
"illuminate/support": "~8.0|~9.0|~10.0|~11.0|~12.0",
25+
"illuminate/database": "~8.0|~9.0|~10.0|~11.0|~12.0",
26+
"illuminate/console": "~8.0|~9.0|~10.0|~11.0|~12.0",
2727
"casbin/casbin": "~4.0"
2828
},
2929
"require-dev": {
30-
"phpunit/phpunit": "~9.0|~10.5",
30+
"phpunit/phpunit": "~9.0|~10.5|^11.5.3",
3131
"php-coveralls/php-coveralls": "^2.7",
3232
"mockery/mockery": "^1.0",
33-
"laravel/laravel": "~9.0|~10.0|~11.0"
33+
"laravel/laravel": "~9.0|~10.0|~11.0|~12.0"
3434
},
3535
"autoload": {
3636
"psr-4": {

0 commit comments

Comments
 (0)