diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 59283c3..ae898d7 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -25,7 +25,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.4' + php-version: '8.5' coverage: none - name: Install composer dependencies diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5c74e8c..ed21737 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -26,14 +26,14 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.4, 8.3] - laravel: [12.*, 11.*] + php: [8.5, 8.4, 8.3] + laravel: [13.*, 12.*] stability: [prefer-lowest, prefer-stable] include: + - laravel: 13.* + testbench: 11.* - laravel: 12.* testbench: 10.* - - laravel: 11.* - testbench: 9.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f104edb..93c8212 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,7 +21,7 @@ composer analyse composer format ``` -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. +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. A few things that make review quick: diff --git a/README.md b/README.md index ea9858c..91b968a 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,9 @@ Parse KML and KMZ files in a Laravel application. Read placemarks, styles and do ## Requirements -PHP 8.3 or later, Laravel 11 or 12, and the `simplexml`, `libxml` and `zip` extensions. +PHP 8.3 or later, Laravel 12 or 13, and the `simplexml`, `libxml` and `zip` extensions. + +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. ## Installation diff --git a/composer.json b/composer.json index e27f4c8..b88cee3 100644 --- a/composer.json +++ b/composer.json @@ -35,16 +35,16 @@ "ext-libxml": "*", "ext-zip": "*", "spatie/laravel-package-tools": "^1.16", - "illuminate/contracts": "^11.0||^12.0" + "illuminate/contracts": "^12.0||^13.0" }, "require-dev": { "laravel/pint": "^1.14", "nunomaduro/collision": "^8.1.1", "larastan/larastan": "^3.0", - "orchestra/testbench": "^10.0.0", - "pestphp/pest": "^3.0", - "pestphp/pest-plugin-arch": "^3.0", - "pestphp/pest-plugin-laravel": "^3.0", + "orchestra/testbench": "^10.0.0||^11.0.0", + "pestphp/pest": "^4.4.1", + "pestphp/pest-plugin-arch": "^4.0", + "pestphp/pest-plugin-laravel": "^4.1", "phpstan/extension-installer": "^1.3||^2.0", "phpstan/phpstan-deprecation-rules": "^1.1||^2.0", "phpstan/phpstan-phpunit": "^1.3||^2.0"