Skip to content

Commit 90e80a9

Browse files
authored
Merge pull request #127 from shuvroroy/main
Add support for laravel 11
2 parents 152bc92 + 255201f commit 90e80a9

File tree

2 files changed

+19
-10
lines changed

2 files changed

+19
-10
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,29 @@ on: [push, pull_request]
44

55
jobs:
66
test:
7-
87
runs-on: ubuntu-latest
98
strategy:
109
fail-fast: true
1110
matrix:
12-
php: [8.0, 8.1, 8.2]
13-
laravel: [9.*, 10.*]
11+
php: [8.0, 8.1, 8.2, 8.3]
12+
laravel: [9.*, 10.*, 11.*]
1413
dependency-version: [prefer-stable]
1514
include:
1615
- laravel: 9.*
1716
testbench: 7.*
1817
- laravel: 10.*
1918
testbench: 8.*
19+
- laravel: 11.*
20+
testbench: 9.*
2021
exclude:
21-
- php: '8.0'
22-
laravel: 10.*
22+
- laravel: 9.*
23+
php: 8.3
24+
- laravel: 10.*
25+
php: 8.0
26+
- laravel: 11.*
27+
php: 8.0
28+
- laravel: 11.*
29+
php: 8.1
2330

2431
name: PHP ${{ matrix.php }} - LARAVEL ${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2532

composer.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
],
1919
"require": {
2020
"php": "^8.0",
21-
"illuminate/database": "^9.0||^10.0",
22-
"illuminate/events": "^9.0||^10.0"
21+
"illuminate/database": "^9.0||^10.0||^11.0",
22+
"illuminate/events": "^9.0||^10.0||^11.0"
2323
},
2424
"require-dev": {
25-
"orchestra/testbench": "^7.0||^8.0",
26-
"phpunit/phpunit": "^9.5.10||^10.0",
25+
"orchestra/testbench": "^7.0||^8.0||^9.0",
26+
"phpunit/phpunit": "^9.5.10||^10.5",
2727
"tightenco/duster": "^2.7"
2828
},
2929
"autoload": {
@@ -40,5 +40,7 @@
4040
"scripts": {
4141
"lint": "vendor/bin/duster lint",
4242
"fix": "vendor/bin/duster fix"
43-
}
43+
},
44+
"minimum-stability": "dev",
45+
"prefer-stable": true
4446
}

0 commit comments

Comments
 (0)