Skip to content

Commit 2ec8502

Browse files
authored
Laravel 12 support (#531)
* Remove unnecessary newline in composer.json * Added Laravel 12 support * Removed Laravel 8 and 9 support * Update PHP version requirement to ^8.1 and adjust test matrix in GitHub Actions * Add PHP 8.4 to the test matrix in GitHub Actions * Update dependencies in composer.json to reflect version changes
1 parent b1421f8 commit 2ec8502

File tree

2 files changed

+10
-15
lines changed

2 files changed

+10
-15
lines changed

.github/workflows/run-tests.yml

+5-9
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,20 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
php: [8.0, 8.1, 8.2, 8.3]
13-
laravel: [11.*, 10.*, 9.*, 8.*]
12+
php: [8.1, 8.2, 8.3, 8.4]
13+
laravel: [12.*, 11.*, 10.*]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515
os: [ubuntu-latest]
1616
include:
17+
- laravel: 12.*
18+
testbench: 10.*
1719
- laravel: 11.*
1820
testbench: 9.*
1921
- laravel: 10.*
2022
testbench: 8.*
21-
- laravel: 9.*
22-
testbench: 7.*
23-
- laravel: 8.*
24-
testbench: 6.*
2523
exclude:
2624
- laravel: 11.*
27-
php: [8.1, 8.0]
28-
- laravel: 10.*
29-
php: 8.0
25+
php: 8.1
3026

3127
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
3228

composer.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.0",
20-
"laravel/framework": "^8.67|^9.0|^10.0|^11.0",
19+
"php": "^8.1",
20+
"laravel/framework": "^10.0|^11.0|^12.0",
2121
"nesbot/carbon": "^2.63|^3.0",
22-
"spatie/eloquent-sortable": "^3.10|^4.0",
22+
"spatie/eloquent-sortable": "^4.0",
2323
"spatie/laravel-package-tools": "^1.4",
24-
"spatie/laravel-translatable": "^4.6|^5.0|^6.0"
24+
"spatie/laravel-translatable": "^6.0"
2525
},
2626
"require-dev": {
27-
"orchestra/testbench": "^6.13|^7.0|^8.0|^9.0",
27+
"orchestra/testbench": "^8.0|^9.0|^10.0",
2828
"pestphp/pest": "^1.22|^2.0",
2929
"phpunit/phpunit": "^9.5.2"
3030
},
@@ -33,7 +33,6 @@
3333
"Spatie\\Tags\\": "src"
3434
}
3535
},
36-
3736
"autoload-dev": {
3837
"psr-4": {
3938
"Spatie\\Tags\\Test\\": "tests"

0 commit comments

Comments
 (0)