Skip to content

Commit b735d58

Browse files
committed
Add Laravel 13 support
Closes #2761 Switch CI from illuminate/contracts to laravel/framework to avoid the standalone package conflict introduced in Laravel 13. 🤖 Generated with Claude Code
1 parent aa0140c commit b735d58

3 files changed

Lines changed: 35 additions & 19 deletions

File tree

.github/workflows/validate.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ jobs:
2828
- "8.2"
2929
- "8.3"
3030
- "8.4"
31+
- "8.5"
3132
laravel-version:
3233
- "^9"
3334
- "^10"
3435
- "^11"
3536
- "^12"
37+
- "^13"
3638
composer:
3739
- name: lowest
3840
arg: "--prefer-lowest --prefer-stable"
@@ -49,6 +51,10 @@ jobs:
4951
laravel-version: "^12"
5052
- php-version: "8.1"
5153
laravel-version: "^12"
54+
- php-version: "8.0"
55+
laravel-version: "^13"
56+
- php-version: "8.1"
57+
laravel-version: "^13"
5258

5359
steps:
5460
- uses: actions/checkout@v4
@@ -74,7 +80,7 @@ jobs:
7480

7581
- run: >
7682
composer require
77-
illuminate/contracts:${{ matrix.laravel-version }}
83+
laravel/framework:${{ matrix.laravel-version }}
7884
--no-interaction
7985
--prefer-dist
8086
--no-progress
@@ -96,11 +102,13 @@ jobs:
96102
- "8.2"
97103
- "8.3"
98104
- "8.4"
105+
- "8.5"
99106
laravel-version:
100107
- "^9"
101108
- "^10"
102109
- "^11"
103110
- "^12"
111+
- "^13"
104112
os:
105113
- ubuntu-latest
106114
composer:
@@ -119,6 +127,10 @@ jobs:
119127
laravel-version: "^12"
120128
- php-version: "8.1"
121129
laravel-version: "^12"
130+
- php-version: "8.0"
131+
laravel-version: "^13"
132+
- php-version: "8.1"
133+
laravel-version: "^13"
122134

123135
services:
124136
mysql:
@@ -160,7 +172,7 @@ jobs:
160172

161173
- run: >
162174
composer require
163-
illuminate/contracts:${{ matrix.laravel-version }}
175+
laravel/framework:${{ matrix.laravel-version }}
164176
--no-interaction
165177
--prefer-dist
166178
--no-progress
@@ -174,8 +186,8 @@ jobs:
174186

175187
strategy:
176188
matrix:
177-
php-version: ["8.4"]
178-
laravel-version: ["^12"]
189+
php-version: ["8.5"]
190+
laravel-version: ["^13"]
179191

180192
services:
181193
mysql:
@@ -210,7 +222,7 @@ jobs:
210222

211223
- run: composer remove --dev phpbench/phpbench rector/rector --no-update
212224

213-
- run: composer require illuminate/contracts:${{ matrix.laravel-version }} --no-interaction --prefer-dist --no-progress
225+
- run: composer require laravel/framework:${{ matrix.laravel-version }} --no-interaction --prefer-dist --no-progress
214226

215227
- run: vendor/bin/phpunit --coverage-clover=coverage.xml
216228

@@ -222,8 +234,8 @@ jobs:
222234

223235
strategy:
224236
matrix:
225-
php-version: ["8.4"]
226-
laravel-version: ["^12"]
237+
php-version: ["8.5"]
238+
laravel-version: ["^13"]
227239

228240
steps:
229241
- uses: actions/checkout@v4
@@ -240,6 +252,6 @@ jobs:
240252
path: ~/.composer/cache
241253
key: php-${{ matrix.php-version }}-composer-${{ matrix.laravel-version }}
242254

243-
- run: composer require illuminate/contracts:${{ matrix.laravel-version }} --no-interaction --prefer-dist --no-progress
255+
- run: composer require laravel/framework:${{ matrix.laravel-version }} --no-interaction --prefer-dist --no-progress
244256

245257
- run: vendor/bin/phpbench run --progress=none --report=aggregate

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ You can find and compare releases at the [GitHub release page](https://github.co
99

1010
## Unreleased
1111

12+
### Added
13+
14+
- Support Laravel 13
15+
1216
## v6.65.0
1317

1418
### Added

composer.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
"php": "^8",
3030
"ext-json": "*",
3131
"haydenpierce/class-finder": "^0.4 || ^0.5",
32-
"illuminate/auth": "^9 || ^10 || ^11 || ^12",
33-
"illuminate/bus": "^9 || ^10 || ^11 || ^12",
34-
"illuminate/contracts": "^9 || ^10 || ^11 || ^12",
35-
"illuminate/http": "^9 || ^10 || ^11 || ^12",
36-
"illuminate/pagination": "^9 || ^10 || ^11 || ^12",
37-
"illuminate/queue": "^9 || ^10 || ^11 || ^12",
38-
"illuminate/routing": "^9 || ^10 || ^11 || ^12",
39-
"illuminate/support": "^9 || ^10 || ^11 || ^12",
40-
"illuminate/validation": "^9 || ^10 || ^11 || ^12",
32+
"illuminate/auth": "^9 || ^10 || ^11 || ^12 || ^13",
33+
"illuminate/bus": "^9 || ^10 || ^11 || ^12 || ^13",
34+
"illuminate/contracts": "^9 || ^10 || ^11 || ^12 || ^13",
35+
"illuminate/http": "^9 || ^10 || ^11 || ^12 || ^13",
36+
"illuminate/pagination": "^9 || ^10 || ^11 || ^12 || ^13",
37+
"illuminate/queue": "^9 || ^10 || ^11 || ^12 || ^13",
38+
"illuminate/routing": "^9 || ^10 || ^11 || ^12 || ^13",
39+
"illuminate/support": "^9 || ^10 || ^11 || ^12 || ^13",
40+
"illuminate/validation": "^9 || ^10 || ^11 || ^12 || ^13",
4141
"laragraph/utils": "^1.5 || ^2",
4242
"thecodingmachine/safe": "^1 || ^2 || ^3",
4343
"webonyx/graphql-php": "^15"
@@ -49,7 +49,7 @@
4949
"fakerphp/faker": "^1.21",
5050
"google/protobuf": "^3.21 || ^4.33.6",
5151
"larastan/larastan": "^2.9.14 || ^3.0.4",
52-
"laravel/framework": "^9 || ^10 || ^11 || ^12",
52+
"laravel/framework": "^9 || ^10 || ^11 || ^12 || ^13",
5353
"laravel/legacy-factories": "^1.1.1",
5454
"laravel/pennant": "^1",
5555
"laravel/scout": "^8 || ^9 || ^10",
@@ -58,7 +58,7 @@
5858
"mll-lab/php-cs-fixer-config": "^5",
5959
"mockery/mockery": "^1.5",
6060
"nesbot/carbon": "^2.62.1 || ^3.8.4",
61-
"orchestra/testbench": "^7.50 || ^8.32 || ^9.10 || ^10.1",
61+
"orchestra/testbench": "^7.50 || ^8.32 || ^9.10 || ^10.1 || ^11",
6262
"phpbench/phpbench": "^1.2.6",
6363
"phpstan/extension-installer": "^1",
6464
"phpstan/phpstan": "^1.12.18 || ^2",

0 commit comments

Comments
 (0)