Skip to content

Commit 7d38775

Browse files
feat: support laravel 12
* Laravel 12 support * ci: update cache image * ci: run tests against laravel 12 and php 8.4 * chore: update dependencies --------- Co-authored-by: Kai Sassnowski <[email protected]>
1 parent ed6a9c2 commit 7d38775

File tree

3 files changed

+3425
-2383
lines changed

3 files changed

+3425
-2383
lines changed

.github/workflows/run_tests.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,24 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
php: [8.1, 8.2, 8.3]
11-
laravel: [10.*, 11.*]
10+
php: [8.1, 8.2, 8.3, 8.4]
11+
laravel: [10.*, 11.*, 12.*]
1212
dependency-version: [prefer-stable]
1313
os: [ubuntu-latest]
1414
include:
1515
- laravel: 10.*
1616
testbench: ^8.0
1717
- laravel: 11.*
1818
testbench: ^9.0
19+
- laravel: 12.*
20+
testbench: ^10.0
1921
exclude:
22+
- php: 8.1
23+
laravel: 12.*
2024
- php: 8.1
2125
laravel: 11.*
26+
- php: 8.4
27+
laravel: 10.*
2228

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

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
}
1111
],
1212
"require": {
13-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
14-
"laravel/framework": "^10.0 || ^11.0",
13+
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
14+
"laravel/framework": "^10.0 || ^11.0 || ^12.0",
1515
"roach-php/core": "^2.0 || ^3.0 || dev-main",
1616
"spatie/laravel-package-tools": "^1.11"
1717
},
1818
"require-dev": {
1919
"ergebnis/composer-normalize": "^2.15",
2020
"ergebnis/php-cs-fixer-config": "^6.19",
21-
"orchestra/testbench": "^7.0 || ^8.0 || ^9.0",
22-
"phpunit/phpunit": "^10.4",
21+
"orchestra/testbench": "^7.0 || ^8.0 || ^9.0 || ^10.0",
22+
"phpunit/phpunit": "^10.0 || ^11.0",
2323
"roave/security-advisories": "dev-latest",
2424
"spatie/phpunit-snapshot-assertions": "^5.0"
2525
},

0 commit comments

Comments
 (0)