Skip to content

Commit

Permalink
Add laravel 11 support (#493)
Browse files Browse the repository at this point in the history
* add laravel 11 support

* update workflows for laravel 11
  • Loading branch information
mokhosh authored Feb 21, 2024
1 parent 3fc4d72 commit ddcc82e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,22 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
php: [8.0, 8.1, 8.2]
laravel: [10.*, 9.*, 8.*]
php: [8.0, 8.1, 8.2, 8.3]
laravel: [11.*, 10.*, 9.*, 8.*]
dependency-version: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
exclude:
- laravel: 11.*
php: [8.1, 8.0]
- laravel: 10.*
php: 8.0

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
],
"require": {
"php": "^8.0",
"laravel/framework": "^8.67|^9.0|^10.0",
"laravel/framework": "^8.67|^9.0|^10.0|^11.0",
"nesbot/carbon": "^2.63",
"spatie/eloquent-sortable": "^3.10|^4.0",
"spatie/laravel-package-tools": "^1.4",
"spatie/laravel-translatable": "^4.6|^5.0|^6.0"
},
"require-dev": {
"orchestra/testbench": "^6.13|^7.0|^8.0",
"pestphp/pest": "^1.22",
"orchestra/testbench": "^6.13|^7.0|^8.0|^9.0",
"pestphp/pest": "^1.22|^2.0",
"phpunit/phpunit": "^9.5.2"
},
"autoload": {
Expand Down

0 comments on commit ddcc82e

Please sign in to comment.