Skip to content

Commit

Permalink
build: add support for Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
JaZo committed Mar 5, 2024
1 parent ca5b7cc commit 146aeb1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
30 changes: 21 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,28 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.4', '8.0', '8.1', '8.2' ]
laravel: [ '8.*', '9.*', '10.*' ]
php: [ 7.4, '8.0', 8.1, 8.2, 8.3 ]
laravel: [ 8.*, 9.*, 10.*, 11.* ]
stability: [ prefer-stable ]
exclude:
- laravel: '8.*'
php: '8.2'
- laravel: '9.*'
php: '7.4'
- laravel: '10.*'
php: '7.4'
- laravel: '10.*'
- laravel: 8.*
php: 8.2
- laravel: 8.*
php: 8.3
- laravel: 9.*
php: 7.4
- laravel: 9.*
php: 8.3
- laravel: 10.*
php: 7.4
- laravel: 10.*
php: '8.0'
- laravel: 11.*
php: 7.4
- laravel: 11.*
php: '8.0'
- laravel: 11.*
php: 8.1
include:
- php: 7.4
phpunit: ^9.5
Expand All @@ -30,6 +40,8 @@ jobs:
phpunit: ^10.5
- php: 8.2
phpunit: ^10.5
- php: 8.3
phpunit: ^10.5

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

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"description": "A PHP package for mapping remote JSON:API resources to Eloquent like models and collections.",
"require": {
"php": "^7.4|^8.0",
"illuminate/support": "^8.0|^9.0|^10.0",
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
"swisnl/json-api-client": "^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"guzzlehttp/guzzle": "^7.3",
"guzzlehttp/psr7": "^2.1",
"orchestra/testbench": "^6.15|^7.0|^8.0",
"orchestra/testbench": "^6.15|^7.0|^8.0|^9.0",
"phpunit/phpunit": "^9.5|^10.5"
},
"autoload": {
Expand Down

0 comments on commit 146aeb1

Please sign in to comment.