Skip to content

Commit 3f1bac8

Browse files
committed
feat: support laravel 12
1 parent 1b89f32 commit 3f1bac8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
php: [8.4]
23-
laravel: ['^11.0']
23+
laravel: ['^11.0', '^12.0']
2424
name: PHP${{ matrix.php }} - Laravel${{ matrix.laravel }}
2525
runs-on: ubuntu-latest
2626
steps:

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@
4242
"require": {
4343
"php": "^8.4",
4444
"godruoyi/php-snowflake": "^3.0",
45-
"illuminate/contracts": "^11.0",
46-
"illuminate/database": "^11.0",
47-
"illuminate/support": "^11.0",
48-
"illuminate/validation": "^11.0"
45+
"illuminate/contracts": "^11.0 || ^12.0",
46+
"illuminate/database": "^11.0 || ^12.0",
47+
"illuminate/support": "^11.0 || ^12.0",
48+
"illuminate/validation": "^11.0 || ^12.0"
4949
},
5050
"require-dev": {
5151
"larastan/larastan": "^3.0",
5252
"laravel/pint": "^1.16.2",
53-
"orchestra/testbench": "^9.0",
53+
"orchestra/testbench": "^9.0 || ^10.0",
5454
"pestphp/pest": "^2.34"
5555
},
5656
"extra": {

0 commit comments

Comments
 (0)