Skip to content

Commit b014686

Browse files
authored
Laravel 12 support (#354)
* Laravel 12 support Just putting this out there to get ahead of the curve on supporting Laravel 12 when it's released on 24th Feb 2025. * Update run-tests.yml * Update run-tests.yml * Update run-tests.yml * Update composer.json, allow dev for Laravel 12 pre-releases
1 parent b9a62e2 commit b014686

File tree

2 files changed

+32
-15
lines changed

2 files changed

+32
-15
lines changed

.github/workflows/run-tests.yml

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,39 @@ jobs:
1212
fail-fast: true
1313
matrix:
1414
os: [ubuntu-latest, windows-latest]
15-
php: ["7.3", "7.4", "8.0", "8.1", "8.2"]
16-
laravel: [8.*, 9.*, 10.*]
15+
php: ["7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
16+
laravel: [8.x, 9.x, 10.x, 11.x, 12.x]
1717
dependency-version: [prefer-stable]
1818
exclude:
19-
- laravel: 9.*
19+
- laravel: 9.x
2020
php: 7.3
21-
- laravel: 10.*
21+
- laravel: 10.x
2222
php: 7.3
23-
- laravel: 9.*
23+
- laravel: 11.x
24+
php: 7.3
25+
- laravel: 12.x
26+
php: 7.3
27+
- laravel: 9.x
28+
php: 7.4
29+
- laravel: 10.x
30+
php: 7.4
31+
- laravel: 11.x
2432
php: 7.4
25-
- laravel: 10.*
33+
- laravel: 12.x
2634
php: 7.4
27-
- laravel: 9.*
35+
- laravel: 9.x
2836
php: 8.0
29-
- laravel: 10.*
37+
- laravel: 10.x
3038
php: 8.0
31-
- laravel: 10.*
39+
- laravel: 11.x
40+
php: 8.0
41+
- laravel: 12.x
42+
php: 8.0
43+
- laravel: 10.x
44+
php: 8.1
45+
- laravel: 11.x
46+
php: 8.1
47+
- laravel: 12.x
3248
php: 8.1
3349

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

composer.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
"require": {
2121
"php": "~7.2 || ~8.0",
2222
"firebase/php-jwt": "^5.2|~6.0",
23-
"illuminate/cache": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0",
24-
"illuminate/contracts": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0",
25-
"illuminate/config": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0",
26-
"illuminate/http": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0",
27-
"illuminate/routing": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0",
23+
"illuminate/cache": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0|~12.0",
24+
"illuminate/contracts": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0|~12.0",
25+
"illuminate/config": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0|~12.0",
26+
"illuminate/http": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0|~12.0",
27+
"illuminate/routing": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0|~12.0",
2828
"nesbot/carbon": "^2.0|^3.0",
2929
"guzzlehttp/guzzle": "~6.0|~7.0"
3030
},
@@ -42,7 +42,8 @@
4242
"config": {
4343
"sort-packages": true
4444
},
45-
"minimum-stability": "stable",
45+
"minimum-stability": "dev",
46+
"prefer-stable": true,
4647
"extra": {
4748
"laravel": {
4849
"providers": [

0 commit comments

Comments
 (0)