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 45be91d commit 7193575
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
28 changes: 19 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

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

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"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",
"phpunit/phpunit": "^9.5"
"orchestra/testbench": "^6.15|^7.0|^8.0|^9.0",
"phpunit/phpunit": "^9.5|^10.5"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 7193575

Please sign in to comment.