Skip to content

Commit

Permalink
Add laravel v11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarFaruk-0x01 committed Feb 18, 2024
1 parent 18bbcb0 commit fc53a36
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,20 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.2, 8.1 8.0]
laravel: [10.*, 9.*, 8.*]
laravel: [11.*, 10.*, 9.*, 8.*]
stability: [prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.23
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.1

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

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"homepage": "https://github.com/spatie/laravel-sluggable",
"require": {
"php": "^8.0",
"illuminate/database": "^8.0|^9.0|^10.0",
"illuminate/support": "^8.0|^9.0|^10.0"
"illuminate/database": "^8.0|^9.0|^10.0|^11.0",
"illuminate/support": "^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^6.23|^7.0|^8.0",
"orchestra/testbench": "^6.23|^7.0|^8.0|^9.0",
"pestphp/pest": "^1.20",
"spatie/laravel-translatable": "^5.0|^6.0"
},
Expand Down

0 comments on commit fc53a36

Please sign in to comment.