Skip to content

Commit ddcc82e

Browse files
authored
Add laravel 11 support (#493)
* add laravel 11 support * update workflows for laravel 11
1 parent 3fc4d72 commit ddcc82e

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/run-tests.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,22 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
php: [8.0, 8.1, 8.2]
13-
laravel: [10.*, 9.*, 8.*]
12+
php: [8.0, 8.1, 8.2, 8.3]
13+
laravel: [11.*, 10.*, 9.*, 8.*]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515
os: [ubuntu-latest]
1616
include:
17+
- laravel: 11.*
18+
testbench: 9.*
1719
- laravel: 10.*
1820
testbench: 8.*
1921
- laravel: 9.*
2022
testbench: 7.*
2123
- laravel: 8.*
2224
testbench: 6.*
2325
exclude:
26+
- laravel: 11.*
27+
php: [8.1, 8.0]
2428
- laravel: 10.*
2529
php: 8.0
2630

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
],
1818
"require": {
1919
"php": "^8.0",
20-
"laravel/framework": "^8.67|^9.0|^10.0",
20+
"laravel/framework": "^8.67|^9.0|^10.0|^11.0",
2121
"nesbot/carbon": "^2.63",
2222
"spatie/eloquent-sortable": "^3.10|^4.0",
2323
"spatie/laravel-package-tools": "^1.4",
2424
"spatie/laravel-translatable": "^4.6|^5.0|^6.0"
2525
},
2626
"require-dev": {
27-
"orchestra/testbench": "^6.13|^7.0|^8.0",
28-
"pestphp/pest": "^1.22",
27+
"orchestra/testbench": "^6.13|^7.0|^8.0|^9.0",
28+
"pestphp/pest": "^1.22|^2.0",
2929
"phpunit/phpunit": "^9.5.2"
3030
},
3131
"autoload": {

0 commit comments

Comments
 (0)