Skip to content

Commit

Permalink
Merge pull request #127 from shuvroroy/main
Browse files Browse the repository at this point in the history
Add support for laravel 11
  • Loading branch information
mateusjunges authored Mar 12, 2024
2 parents 152bc92 + 255201f commit 90e80a9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,29 @@ on: [push, pull_request]

jobs:
test:

runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.0, 8.1, 8.2]
laravel: [9.*, 10.*]
php: [8.0, 8.1, 8.2, 8.3]
laravel: [9.*, 10.*, 11.*]
dependency-version: [prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
exclude:
- php: '8.0'
laravel: 10.*
- laravel: 9.*
php: 8.3
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

name: PHP ${{ matrix.php }} - LARAVEL ${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand Down
12 changes: 7 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
],
"require": {
"php": "^8.0",
"illuminate/database": "^9.0||^10.0",
"illuminate/events": "^9.0||^10.0"
"illuminate/database": "^9.0||^10.0||^11.0",
"illuminate/events": "^9.0||^10.0||^11.0"
},
"require-dev": {
"orchestra/testbench": "^7.0||^8.0",
"phpunit/phpunit": "^9.5.10||^10.0",
"orchestra/testbench": "^7.0||^8.0||^9.0",
"phpunit/phpunit": "^9.5.10||^10.5",
"tightenco/duster": "^2.7"
},
"autoload": {
Expand All @@ -40,5 +40,7 @@
"scripts": {
"lint": "vendor/bin/duster lint",
"fix": "vendor/bin/duster fix"
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit 90e80a9

Please sign in to comment.