Skip to content

Commit 1d85805

Browse files
authored
Supports Laravel 12 (#451)
* wip Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> * wip Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> * wip * wip * wip * wip * wip --------- Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
1 parent da1a623 commit 1d85805

File tree

2 files changed

+22
-7
lines changed

2 files changed

+22
-7
lines changed

.github/workflows/tests.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
- develop
78
- '*.x'
89
pull_request:
910
schedule:
@@ -17,7 +18,7 @@ jobs:
1718
fail-fast: true
1819
matrix:
1920
stack: [blade, livewire, livewire-functional, react, vue, api]
20-
laravel: [11]
21+
laravel: [11, 12]
2122
args: ["", --pest]
2223
include:
2324
- stack: vue
@@ -26,6 +27,12 @@ jobs:
2627
- stack: react
2728
args: --ssr --typescript
2829
laravel: 11
30+
- stack: vue
31+
args: --ssr --typescript
32+
laravel: 12
33+
- stack: react
34+
args: --ssr --typescript
35+
laravel: 12
2936

3037
name: Test Stubs - Laravel ${{ matrix.laravel }} - ${{ matrix.stack }} ${{ matrix.args }}
3138

@@ -44,6 +51,14 @@ jobs:
4451
composer create-project laravel/laravel:^${{ matrix.laravel }} .
4552
composer require laravel/breeze:@dev --no-interaction --no-update
4653
composer config repositories.breeze '{"type": "path", "url": "breeze"}' --file composer.json
54+
if: matrix.laravel < 12
55+
56+
- name: Setup Laravel (dev-master)
57+
run: |
58+
composer create-project laravel/laravel:dev-master .
59+
composer require laravel/breeze:@dev --no-interaction --no-update
60+
composer config repositories.breeze '{"type": "path", "url": "breeze"}' --file composer.json
61+
if: matrix.laravel == 12
4762

4863
- name: Checkout code
4964
uses: actions/checkout@v4

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
],
1616
"require": {
1717
"php": "^8.2.0",
18-
"illuminate/console": "^11.0",
19-
"illuminate/filesystem": "^11.0",
20-
"illuminate/support": "^11.0",
21-
"illuminate/validation": "^11.0",
18+
"illuminate/console": "^11.0|^12.0",
19+
"illuminate/filesystem": "^11.0|^12.0",
20+
"illuminate/support": "^11.0|^12.0",
21+
"illuminate/validation": "^11.0|^12.0",
2222
"symfony/console": "^7.0"
2323
},
2424
"require-dev": {
25-
"laravel/framework": "^11.0",
26-
"orchestra/testbench-core": "^9.0",
25+
"laravel/framework": "^11.0|^12.0",
26+
"orchestra/testbench-core": "^9.0|^10.0",
2727
"phpstan/phpstan": "^2.0"
2828
},
2929
"autoload": {

0 commit comments

Comments
 (0)