Skip to content

Commit 146aeb1

Browse files
committed
build: add support for Laravel 11
1 parent ca5b7cc commit 146aeb1

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

.github/workflows/tests.yml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,28 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
php: [ '7.4', '8.0', '8.1', '8.2' ]
13-
laravel: [ '8.*', '9.*', '10.*' ]
12+
php: [ 7.4, '8.0', 8.1, 8.2, 8.3 ]
13+
laravel: [ 8.*, 9.*, 10.*, 11.* ]
1414
stability: [ prefer-stable ]
1515
exclude:
16-
- laravel: '8.*'
17-
php: '8.2'
18-
- laravel: '9.*'
19-
php: '7.4'
20-
- laravel: '10.*'
21-
php: '7.4'
22-
- laravel: '10.*'
16+
- laravel: 8.*
17+
php: 8.2
18+
- laravel: 8.*
19+
php: 8.3
20+
- laravel: 9.*
21+
php: 7.4
22+
- laravel: 9.*
23+
php: 8.3
24+
- laravel: 10.*
25+
php: 7.4
26+
- laravel: 10.*
2327
php: '8.0'
28+
- laravel: 11.*
29+
php: 7.4
30+
- laravel: 11.*
31+
php: '8.0'
32+
- laravel: 11.*
33+
php: 8.1
2434
include:
2535
- php: 7.4
2636
phpunit: ^9.5
@@ -30,6 +40,8 @@ jobs:
3040
phpunit: ^10.5
3141
- php: 8.2
3242
phpunit: ^10.5
43+
- php: 8.3
44+
phpunit: ^10.5
3345

3446
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
3547

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"description": "A PHP package for mapping remote JSON:API resources to Eloquent like models and collections.",
55
"require": {
66
"php": "^7.4|^8.0",
7-
"illuminate/support": "^8.0|^9.0|^10.0",
7+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
88
"swisnl/json-api-client": "^2.0"
99
},
1010
"require-dev": {
1111
"friendsofphp/php-cs-fixer": "^3.0",
1212
"guzzlehttp/guzzle": "^7.3",
1313
"guzzlehttp/psr7": "^2.1",
14-
"orchestra/testbench": "^6.15|^7.0|^8.0",
14+
"orchestra/testbench": "^6.15|^7.0|^8.0|^9.0",
1515
"phpunit/phpunit": "^9.5|^10.5"
1616
},
1717
"autoload": {

0 commit comments

Comments
 (0)