Skip to content

Commit

Permalink
feat: add laravel 11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelpopowicz committed Jul 4, 2024
1 parent 1bcce1e commit 2c1cb43
Show file tree
Hide file tree
Showing 9 changed files with 2,222 additions and 1,261 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,22 @@ jobs:
strategy:
fail-fast: true
matrix:
laravel: [9.*, 8.*]
laravel: [11.*, 10.*, 9.*, 8.*]
php: [ 8.2, 8.1 ]
include:
- laravel: 11.*
testbench: ^9.0
- laravel: 10.*
testbench: ^8.0
- laravel: 9.*
testbench: ^7.0
- laravel: 8.*
testbench: ^6.0
exclude:
- php: 8.1
laravel: 11.*

name: "Test suite : Laravel ${{ matrix.laravel }}"
name: "Test suite : PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }}"

services:
mysql:
Expand All @@ -38,7 +46,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@

"php": "^8.1",
"ext-json": "*",
"illuminate/contracts": "^8.0 || ^9.0",
"illuminate/contracts": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"spatie/laravel-package-tools": "^1.12"
},
"require-dev": {
"guzzlehttp/guzzle": "^7.0.1",
"laravel/pint": "^1.2",
"mockery/mockery": "^1.5",
"orchestra/testbench": "^6.24|^7.6",
"orchestra/testbench": "^6.0 || ^7.6 || ^8.0 || ^9.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-faker": "^1.0",
"pestphp/pest-plugin-laravel": "^1.2",
Expand Down
Loading

0 comments on commit 2c1cb43

Please sign in to comment.