Skip to content

Commit 26c4a6d

Browse files
laravel-shifttaylorotwellcrynobone
authored
Laravel 13.x Compatibility (#480)
* Bump dependencies for Laravel 13 * Update GitHub Actions for Laravel 13 * Update composer.json Co-authored-by: Mior Muhammad Zaki <crynobone@gmail.com> * Update composer.json Co-authored-by: Mior Muhammad Zaki <crynobone@gmail.com> --------- Co-authored-by: Taylor Otwell <taylor@laravel.com> Co-authored-by: Mior Muhammad Zaki <crynobone@gmail.com>
1 parent 250a531 commit 26c4a6d

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- master
77
- develop
8-
- '*.x'
8+
- *.x
99
pull_request:
1010
schedule:
1111
- cron: '0 0 * * *'
@@ -18,8 +18,8 @@ jobs:
1818
fail-fast: true
1919
matrix:
2020
stack: [blade, livewire, livewire-functional, react, vue, api]
21-
laravel: [11, 12]
22-
args: ["", --pest]
21+
laravel: [11, 12, '13']
22+
args: ['', '--pest']
2323
include:
2424
- stack: vue
2525
args: --ssr --typescript
@@ -51,35 +51,35 @@ jobs:
5151
composer create-project laravel/laravel:^${{ matrix.laravel }} .
5252
composer require laravel/breeze:@dev --no-interaction --no-update
5353
composer config repositories.breeze '{"type": "path", "url": "breeze"}' --file composer.json
54-
if: matrix.laravel < 12
54+
if: 'matrix.laravel < 12'
5555

5656
- name: Setup Laravel (dev-master)
5757
run: |
5858
composer create-project laravel/laravel:dev-master .
5959
composer require laravel/breeze:@dev --no-interaction --no-update
6060
composer config repositories.breeze '{"type": "path", "url": "breeze"}' --file composer.json
61-
if: matrix.laravel == 12
61+
if: 'matrix.laravel == 12'
6262

6363
- name: Checkout code
6464
uses: actions/checkout@v4
6565
with:
66-
path: 'breeze'
66+
path: breeze
6767

6868
- name: Install Breeze
6969
run: |
7070
composer update "laravel/breeze" --prefer-dist --no-interaction --no-progress -W
7171
php artisan breeze:install ${{ matrix.stack }} ${{ matrix.args }}
7272
7373
- name: Install NPM dependencies
74-
if: matrix.stack != 'api'
74+
if: "matrix.stack != 'api'"
7575
run: npm i
7676

7777
- name: Compile assets
78-
if: matrix.stack != 'api'
78+
if: "matrix.stack != 'api'"
7979
run: npm run build
8080

8181
- name: Execute tests
8282
run: ${{ matrix.args == '--pest' && 'vendor/bin/pest' || 'vendor/bin/phpunit' }}
8383
env:
8484
DB_CONNECTION: sqlite
85-
DB_DATABASE: ":memory:"
85+
DB_DATABASE: :memory:

composer.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"name": "laravel/breeze",
33
"description": "Minimal Laravel authentication scaffolding with Blade and Tailwind.",
4-
"keywords": ["laravel", "auth"],
4+
"keywords": [
5+
"laravel",
6+
"auth"
7+
],
58
"license": "MIT",
69
"support": {
710
"issues": "https://github.com/laravel/breeze/issues",
@@ -15,15 +18,15 @@
1518
],
1619
"require": {
1720
"php": "^8.2.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",
22-
"symfony/console": "^7.0"
21+
"illuminate/console": "^11.0|^12.0|^13.0",
22+
"illuminate/filesystem": "^11.0|^12.0|^13.0",
23+
"illuminate/support": "^11.0|^12.0|^13.0",
24+
"illuminate/validation": "^11.0|^12.0|^13.0",
25+
"symfony/console": "^7.0|^8.0"
2326
},
2427
"require-dev": {
25-
"laravel/framework": "^11.0|^12.0",
26-
"orchestra/testbench-core": "^9.0|^10.0",
28+
"laravel/framework": "^11.0|^12.0|^13.0",
29+
"orchestra/testbench-core": "^9.0|^10.0|^11.0",
2730
"phpstan/phpstan": "^2.0"
2831
},
2932
"autoload": {

0 commit comments

Comments
 (0)