Skip to content

Commit

Permalink
Merge pull request #25 from tookantech/Laravel11
Browse files Browse the repository at this point in the history
add compatibility with laravel 11
  • Loading branch information
aryala7 authored Apr 3, 2024
2 parents 34a0f61 + d45e394 commit ed5c45c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,31 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1]
laravel: [10.*]
php: [8.2, 8.1, 8.0]
laravel: ['7.*', '8.*', '9.*', '10.*', '11.*']
stability: [prefer-stable]
include:
- laravel: 11.*
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
- laravel: 7.*
testbench: 5.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 10.*
php: 8.0
- laravel: 7.*
php: 8.2
- laravel: 7.*
php: 8.1
- laravel: 11.*
php: 8.1
- laravel: 11.*
php: 8.0

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

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
],
"require": {
"php": "^8.2|^8.1",
"laravel/framework":"^11.0|^10.0",
"laravel/framework": "^7.0|^8.0|^9.0|^10.0|^11.0",
"spatie/laravel-package-tools": "^1.14.0",
"illuminate/contracts": "^10.0",
"illuminate/contracts": "^11.0|^10.0",
"guzzlehttp/guzzle": "^7.5"
},
"require-dev": {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^7.9",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^8.0",
"pestphp/pest": "^2.0",
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0",
"pestphp/pest": "^1.22|^2.34",
"pestphp/pest-plugin-arch": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"phpstan/phpdoc-parser": "^1.15",
Expand Down

0 comments on commit ed5c45c

Please sign in to comment.