Skip to content

Commit 7ff2000

Browse files
feat: support Laravel 13 and PHP 8.5, drop Laravel 11
Laravel 13 needs a Pest 4 toolchain: pest-plugin-laravel 3 caps at Laravel 12 and will not resolve against 13. Pest 4 keeps the PHP 8.3 floor and covers Laravel 12 and 13, so the suite moves to it unchanged. Pest 5 would have forced PHP 8.4 and the loss of 8.3 for no gain here. Laravel 11 is removed rather than carried forward. Its security window closed in March 2026, and the advisories currently open against the framework are fixed in 12.60/12.61 and 13.10/13.12 with nothing in the 11.x branch. Declaring ^11.0 told users an unpatched framework was supported. composer audit is clean on 12 and 13. The matrix gains PHP 8.5 and Laravel 13 and loses Laravel 11, going from 16 jobs to 24. PHPStan runs on 8.5.
1 parent 80e83d4 commit 7ff2000

5 files changed

Lines changed: 14 additions & 12 deletions

File tree

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup PHP
2626
uses: shivammathur/setup-php@v2
2727
with:
28-
php-version: '8.4'
28+
php-version: '8.5'
2929
coverage: none
3030

3131
- name: Install composer dependencies

.github/workflows/run-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
fail-fast: true
2727
matrix:
2828
os: [ubuntu-latest, windows-latest]
29-
php: [8.4, 8.3]
30-
laravel: [12.*, 11.*]
29+
php: [8.5, 8.4, 8.3]
30+
laravel: [13.*, 12.*]
3131
stability: [prefer-lowest, prefer-stable]
3232
include:
33+
- laravel: 13.*
34+
testbench: 11.*
3335
- laravel: 12.*
3436
testbench: 10.*
35-
- laravel: 11.*
36-
testbench: 9.*
3737

3838
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3939

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ composer analyse
2121
composer format
2222
```
2323

24-
All three have to pass. CI runs them on every pull request, across PHP 8.3 and 8.4, Laravel 11 and 12, on Linux and Windows.
24+
All three have to pass. CI runs them on every pull request, across PHP 8.3, 8.4 and 8.5, Laravel 12 and 13, on Linux and Windows.
2525

2626
A few things that make review quick:
2727

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ Parse KML and KMZ files in a Laravel application. Read placemarks, styles and do
1313

1414
## Requirements
1515

16-
PHP 8.3 or later, Laravel 11 or 12, and the `simplexml`, `libxml` and `zip` extensions.
16+
PHP 8.3 or later, Laravel 12 or 13, and the `simplexml`, `libxml` and `zip` extensions.
17+
18+
Laravel 11 is supported by the 2.x line. It reached the end of its security window in March 2026 and the advisories open against it have no fix in the 11.x branch, so 3.x does not accept it.
1719

1820
## Installation
1921

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@
3535
"ext-libxml": "*",
3636
"ext-zip": "*",
3737
"spatie/laravel-package-tools": "^1.16",
38-
"illuminate/contracts": "^11.0||^12.0"
38+
"illuminate/contracts": "^12.0||^13.0"
3939
},
4040
"require-dev": {
4141
"laravel/pint": "^1.14",
4242
"nunomaduro/collision": "^8.1.1",
4343
"larastan/larastan": "^3.0",
44-
"orchestra/testbench": "^10.0.0",
45-
"pestphp/pest": "^3.0",
46-
"pestphp/pest-plugin-arch": "^3.0",
47-
"pestphp/pest-plugin-laravel": "^3.0",
44+
"orchestra/testbench": "^10.0.0||^11.0.0",
45+
"pestphp/pest": "^4.4.1",
46+
"pestphp/pest-plugin-arch": "^4.0",
47+
"pestphp/pest-plugin-laravel": "^4.1",
4848
"phpstan/extension-installer": "^1.3||^2.0",
4949
"phpstan/phpstan-deprecation-rules": "^1.1||^2.0",
5050
"phpstan/phpstan-phpunit": "^1.3||^2.0"

0 commit comments

Comments
 (0)