Skip to content

Commit c32425f

Browse files
[7.x] Supports Laravel 12 (#1202)
* Allow Laravel 12 in composer.json * Add Laravel 12 to testing matrix * Change minimum-stability to dev * Update Pest * Pest 3 requires PHPUnit 11 * Support older versions of Pest, in order to support Laravel 10.
1 parent b428ed9 commit c32425f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
php: [8.2, 8.3, 8.4]
16-
laravel: [10.*, 11.*]
16+
laravel: [10.*, 11.*, 12.*]
1717
stability: [prefer-lowest, prefer-stable]
1818
os: [ubuntu-latest]
1919
exclude:

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"require": {
3232
"php": "^8.2",
3333
"ext-intl": "*",
34-
"laravel/framework": "^10.34 || ^11.0.3",
34+
"laravel/framework": "^10.34 || ^11.0.3 || ^12.0",
3535
"mollie/mollie-api-php": "^2.30.0",
3636
"moneyphp/money": "^4.0",
3737
"paypal/paypal-checkout-sdk": "^1.0",
@@ -43,10 +43,10 @@
4343
},
4444
"require-dev": {
4545
"statamic-rad-pack/runway": "^7.13 || ^8.0",
46-
"orchestra/testbench": "^8.28 || ^9.6.1",
47-
"phpunit/phpunit": "^10.5.35",
48-
"pestphp/pest": "^2.2",
49-
"pestphp/pest-plugin-laravel": "^2.0",
46+
"orchestra/testbench": "^8.28 || ^9.6.1 || ^10.0",
47+
"phpunit/phpunit": "^10.5.35 || ^11.0",
48+
"pestphp/pest": "^2.2 || ^3.0",
49+
"pestphp/pest-plugin-laravel": "^2.0 || ^3.0",
5050
"spatie/ray": "^1.17",
5151
"spatie/test-time": "^1.3"
5252
},
@@ -61,5 +61,5 @@
6161
"pestphp/pest-plugin": true
6262
}
6363
},
64-
"minimum-stability": "alpha"
64+
"minimum-stability": "dev"
6565
}

0 commit comments

Comments
 (0)