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 9cc96af commit 27e027b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 13 deletions.
34 changes: 23 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,30 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.4', '8.0', '8.1', '8.2' ]
laravel: [ '8.*', '9.*', '10.*' ]
stability: [ prefer-lowest, prefer-stable ]
exclude:
- laravel: '8.*'
php: '8.2'
- laravel: '9.*'
php: '7.4'
- laravel: '10.*'
php: '7.4'
- laravel: '10.*'
php: '8.0'
include:
- laravel: 8.*
php: 7.4
- laravel: 8.*
php: 8.0
- laravel: 8.*
php: 8.1
- laravel: 9.*
php: 8.0
- laravel: 9.*
php: 8.1
- laravel: 9.*
php: 8.2
- laravel: 10.*
php: 8.1
- laravel: 10.*
php: 8.2
- laravel: 10.*
php: 8.3
- laravel: 11.*
php: 8.2
- laravel: 11.*
php: 8.3

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 @@ -5,8 +5,8 @@
"require": {
"php": "^7.4|^8.0",
"ext-json": "*",
"illuminate/collections": "^8.0|^9.0|^10.0",
"illuminate/contracts": "^8.0|^9.0|^10.0",
"illuminate/collections": "^8.0|^9.0|^10.0|^11.0",
"illuminate/contracts": "^8.0|^9.0|^10.0|^11.0",
"php-http/discovery": "^1.9",
"psr/http-client": "^1.0",
"psr/http-client-implementation": "^1.0",
Expand Down

0 comments on commit 27e027b

Please sign in to comment.