From 8e7bff9e614cc679f2604157ac48c2c4023f5853 Mon Sep 17 00:00:00 2001 From: Mathias Palmqvist Date: Thu, 12 Nov 2026 08:31:34 +0100 Subject: [PATCH] Add support for Laravel 13 - Allow illuminate/contracts ^13.0 - Allow orchestra/testbench ^11.0 and Pest 4 (with plugins) for dev - Add Laravel 13 to the CI test matrix - Update requirements in README --- .github/workflows/run-tests.yml | 10 +++++++++- README.md | 2 +- composer.json | 10 +++++----- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 56dc159..d7a2062 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -18,7 +18,7 @@ jobs: matrix: os: [ubuntu-latest] php: [8.3, 8.4] - laravel: [11.*, 12.*] + laravel: [11.*, 12.*, 13.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 11.* @@ -37,6 +37,14 @@ jobs: php: 8.4 testbench: 10.* carbon: ^3.8.4 + - laravel: 13.* + php: 8.3 + testbench: 11.* + carbon: ^3.8.4 + - laravel: 13.* + php: 8.4 + testbench: 11.* + carbon: ^3.8.4 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/README.md b/README.md index 233bc26..6dba638 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ A Laravel package for proxying Plausible Analytics, improving performance and pr ## Requirements -- Laravel 11 or 12 +- Laravel 11, 12 or 13 - PHP 8.3 or 8.4 ## Installation diff --git a/composer.json b/composer.json index 46f29e7..f104105 100644 --- a/composer.json +++ b/composer.json @@ -19,16 +19,16 @@ "require": { "php": "^8.3", "spatie/laravel-package-tools": "^1.16", - "illuminate/contracts": "^11.0||^12.0" + "illuminate/contracts": "^11.0||^12.0||^13.0" }, "require-dev": { "laravel/pint": "^1.14", "nunomaduro/collision": "^8.1", "larastan/larastan": "^3.0", - "orchestra/testbench": "^9.0||^10.0", - "pestphp/pest": "^3.0", - "pestphp/pest-plugin-arch": "^3.0", - "pestphp/pest-plugin-laravel": "^3.0", + "orchestra/testbench": "^9.0||^10.0||^11.0", + "pestphp/pest": "^3.0||^4.0", + "pestphp/pest-plugin-arch": "^3.0||^4.0", + "pestphp/pest-plugin-laravel": "^3.0||^4.0", "phpstan/extension-installer": "^1.3", "phpstan/phpstan-deprecation-rules": "^2.0", "phpstan/phpstan-phpunit": "^2.0", -- 2.53.0