Skip to content

Commit 5703bc8

Browse files
authored
laravel 13 upgrade (#11)
* Update composer dependencies and suggest new packages * Update test matrix for PHP and Laravel versions * Update CHANGELOG with Laravel 13 upgrade * Update GitHub Actions version to v4 and fix Laravel version * Add support for Laravel 10.* with PHP 8.4 version * Update Laravel version exclusions in run-tests workflow
1 parent 123fda3 commit 5703bc8

3 files changed

Lines changed: 28 additions & 17 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,26 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
os: [ubuntu-latest]
19+
os: [ubuntu-latest, windows-latest]
2020
php: [8.4, 8.3, 8.2]
21-
laravel: [12.*, 11.*, 10.*]
22-
stability: [prefer-lowest, prefer-stable]
21+
laravel: [13.*, 12.*, 11.*]
22+
stability: [prefer-stable]
23+
exclude:
24+
- laravel: 13.*
25+
php: 8.2
2326
include:
27+
- laravel: 13.*
28+
testbench: 11.*
2429
- laravel: 12.*
2530
testbench: 10.*
2631
- laravel: 11.*
2732
testbench: 9.*
28-
- laravel: 10.*
29-
testbench: ^8.22
3033

3134
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3235

3336
steps:
3437
- name: Checkout code
35-
uses: actions/checkout@v6
38+
uses: actions/checkout@v4
3639

3740
- name: Setup PHP
3841
uses: shivammathur/setup-php@v2
@@ -55,4 +58,4 @@ jobs:
5558
run: composer show -D
5659

5760
- name: Execute tests
58-
run: vendor/bin/pest --ci
61+
run: vendor/bin/pest --ci

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `shard-collections` will be documented in this file.
44

5+
## v1.1 - 2026-03-19
6+
7+
* Upgrade to Laravel 13
8+
59
## v1.1 - 2025-03-19
610

711
### What's Changed

composer.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
],
1919
"require": {
2020
"php": "^8.2",
21-
"illuminate/contracts": "^10.0||^11.0||^12.0"
21+
"illuminate/contracts": "^11.0|^12.0|^13.0"
2222
},
2323
"require-dev": {
2424
"laravel/pint": "^1.14",
25-
"nunomaduro/collision": "^8.1.1||^7.10.0",
26-
"larastan/larastan": "^2.9||^3.0",
27-
"orchestra/testbench": "^10.0.0||^9.0.0||^8.22.0||^7.0",
28-
"pestphp/pest": "^3.0||^2.0",
29-
"pestphp/pest-plugin-arch": "^2.0||^3.0",
30-
"pestphp/pest-plugin-laravel": "^2.0||^3.0",
31-
"phpstan/extension-installer": "^1.3||^2.0",
32-
"phpstan/phpstan-deprecation-rules": "^1.1||^2.0",
33-
"phpstan/phpstan-phpunit": "^1.3||^2.0"
25+
"nunomaduro/collision": "^8.1.1",
26+
"larastan/larastan": "^2.9|^3.0",
27+
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0|^11.0",
28+
"pestphp/pest": "^3.0|^4.0",
29+
"pestphp/pest-plugin-arch": "^3.0|^4.0|^5.0",
30+
"pestphp/pest-plugin-laravel": "^2.0|^3.0|^4.0|^5.0",
31+
"phpstan/extension-installer": "^1.3",
32+
"phpstan/phpstan-deprecation-rules": "^1.1|^2.0",
33+
"phpstan/phpstan-phpunit": "^1.3|^2.0"
3434
},
3535
"autoload": {
3636
"psr-4": {
@@ -58,6 +58,10 @@
5858
"phpstan/extension-installer": true
5959
}
6060
},
61+
"suggest": {
62+
"binary-cats/laravel-rbac": "Laravel enum-backed RBAC extension of spatie/laravel-permission",
63+
"binary-cats/laravel-mailgun-webhooks": "Handle Mailgun webhooks in your Laravel application"
64+
},
6165
"extra": {
6266
"branch-alias": {
6367
"dev-master": "1.x-dev"

0 commit comments

Comments
 (0)