Skip to content

Commit 9f40919

Browse files
committed
feat: support laravel 12
1 parent 144b990 commit 9f40919

File tree

6 files changed

+986
-936
lines changed

6 files changed

+986
-936
lines changed

.github/workflows/run-tests.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
php: [8.1, 8.2, 8.3]
14-
laravel: [10.*, 11.*]
13+
php: [8.2, 8.3, 8.4]
14+
laravel: [10.*, 11.*, 12.*]
1515
stability: [prefer-stable]
1616
os: [ubuntu-latest]
1717
include:
1818
- laravel: 10.*
1919
testbench: ^8.0
2020
- laravel: 11.*
2121
testbench: ^9.0
22-
exclude:
23-
- laravel: 11.*
24-
php: 8.1
22+
- laravel: 12.*
23+
testbench: ^10.0
24+
exclude: []
2525

2626
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2727

@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/checkout@v3
3838

3939
- name: Cache dependencies
40-
uses: actions/cache@v3
40+
uses: actions/cache@v4
4141
with:
4242
path: ~/.composer/cache/files
4343
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

composer.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.1",
13+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
1414
"ext-json": "*",
15-
"illuminate/bus": "^10.0 || ^11.0",
16-
"illuminate/container": "^10.0 || ^11.0",
17-
"illuminate/events": "^10.0 || ^11.0",
18-
"illuminate/queue": "^10.0 || ^11.0",
19-
"illuminate/support": "^10.0 || ^11.0",
15+
"illuminate/bus": "^10.0 || ^11.0 || ^12.0",
16+
"illuminate/container": "^10.0 || ^11.0 || ^12.0",
17+
"illuminate/events": "^10.0 || ^11.0 || ^12.0",
18+
"illuminate/queue": "^10.0 || ^11.0 || ^12.0",
19+
"illuminate/support": "^10.0 || ^11.0 || ^12.0",
2020
"laravel/serializable-closure": "^1.2",
2121
"ramsey/uuid": "^4.0"
2222
},
2323
"require-dev": {
2424
"ergebnis/composer-normalize": "^2.29",
2525
"ergebnis/php-cs-fixer-config": "^5.2 || ^6.0",
26+
"larastan/larastan": "^3.2",
2627
"lorisleiva/laravel-actions": "^2.5.1",
2728
"mockery/mockery": "^1.5.1",
28-
"nunomaduro/larastan": "^2.4",
29-
"orchestra/testbench": "^8.0 || ^9.0",
30-
"pestphp/pest": "^2.34",
31-
"pestphp/pest-plugin-laravel": "^2.3",
32-
"phpunit/phpunit": "^10.5",
29+
"orchestra/testbench": "^8.0 || ^9.0 || ^10.0",
30+
"pestphp/pest": "^2.34 || ^3.7",
31+
"pestphp/pest-plugin-laravel": "^2.3 || ^3.1",
32+
"phpunit/phpunit": "^10.5 || ^11.5.3",
3333
"roave/security-advisories": "dev-latest",
3434
"spatie/laravel-ignition": "^2.0"
3535
},

0 commit comments

Comments
 (0)