Skip to content

Commit 999bc25

Browse files
authored
Laravel 12 support (#980)
* Allow and test on Laravel 12 * Temp remove `livewire/livewire` dev dep * Allow for higher phpunit version * Revert "Temp remove `livewire/livewire` dev dep" This reverts commit d7716e3.
1 parent bc444ec commit 999bc25

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@ jobs:
3232

3333
# All versions below only support PHP ^8.2 (Laravel requirement)
3434
- { laravel: ^11.0, testbench: ^9.0, phpunit: 10.5.* }
35+
- { laravel: ^12.0, testbench: ^10.0, phpunit: 11.5.* }
3536
exclude:
3637
- php: "8.1"
3738
packages: { laravel: ^11.0, testbench: ^9.0, phpunit: 10.5.* }
39+
- php: "8.1"
40+
packages: { laravel: ^12.0, testbench: ^10.0, phpunit: 11.5.* }
3841

3942
name: phpunit (PHP:${{ matrix.php }}, Laravel:${{ matrix.packages.laravel }})
4043

composer.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
],
2525
"require": {
2626
"php": "^7.2 | ^8.0",
27-
"illuminate/support": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0",
27+
"illuminate/support": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0 | ^12.0",
2828
"sentry/sentry": "^4.10",
2929
"symfony/psr-http-message-bridge": "^1.0 | ^2.0 | ^6.0 | ^7.0",
3030
"nyholm/psr7": "^1.0"
@@ -35,10 +35,10 @@
3535
}
3636
},
3737
"require-dev": {
38-
"phpunit/phpunit": "^8.4 | ^9.3 | ^10.4",
39-
"laravel/framework": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0",
38+
"phpunit/phpunit": "^8.4 | ^9.3 | ^10.4 | ^11.5",
39+
"laravel/framework": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0 | ^12.0",
4040
"livewire/livewire": "^2.0 | ^3.0",
41-
"orchestra/testbench": "^4.7 | ^5.1 | ^6.0 | ^7.0 | ^8.0 | ^9.0",
41+
"orchestra/testbench": "^4.7 | ^5.1 | ^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0",
4242
"friendsofphp/php-cs-fixer": "^3.11",
4343
"mockery/mockery": "^1.3",
4444
"phpstan/phpstan": "^1.10",
@@ -75,5 +75,6 @@
7575
"config": {
7676
"sort-packages": true
7777
},
78+
"minimum-stability": "dev",
7879
"prefer-stable": true
7980
}

0 commit comments

Comments
 (0)