From 2cc1823debc64da3c807161fbb6dc6b57bc57315 Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Wed, 6 Mar 2024 19:34:16 -0500 Subject: [PATCH] Add support for Laravel 11 and drop Laravel 9 --- .github/workflows/run-tests.yml | 9 ++++++--- composer.json | 8 ++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c57cddf..c47e9d7 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,15 +9,18 @@ jobs: strategy: fail-fast: true matrix: - php: ['8.1', '8.2'] - laravel: ['9.*', '10.*@dev'] + php: ['8.1', '8.2', '8.3'] + laravel: ['10.*', '11.*'] composer-flags: ['--prefer-stable'] can-fail: [false] include: - php: '8.1' - laravel: '9.*' + laravel: '10.*' composer-flags: '--prefer-stable --prefer-lowest' can-fail: false + exclude: + - php: '8.1' + laravel: '11.*' name: "PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}" diff --git a/composer.json b/composer.json index 99e4e25..66bc2fb 100644 --- a/composer.json +++ b/composer.json @@ -6,13 +6,13 @@ "require": { "php": "^8.1", "fig/link-util": "^1.2", - "illuminate/http": "^9.0 || ^10.0", - "illuminate/support": "^9.0 || ^10.0", + "illuminate/http": "^10.0 || ^11.0", + "illuminate/support": "^10.0 || ^11.0", "psr/link": "^1.1.1 || ^2.0.1" }, "require-dev": { - "laravel/framework": "^9.0 || ^10.0", - "orchestra/testbench": "^7.0 || ^8.0", + "laravel/framework": "^10.0 || ^11.0", + "orchestra/testbench": "^8.0 || ^9.0", "phpunit/phpunit": "^9.6 || ^10.0" }, "autoload": {