From ccc510889368aecaab5d9da7660371544d1789f3 Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Wed, 6 Mar 2024 19:50:05 -0500 Subject: [PATCH] Add support for Laravel 11 --- .github/workflows/run-tests.yml | 7 +++++-- composer.json | 10 +++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6bcbddb..c47e9d7 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,8 +9,8 @@ jobs: strategy: fail-fast: true matrix: - php: ['8.1', '8.2'] - laravel: ['10.*'] + php: ['8.1', '8.2', '8.3'] + laravel: ['10.*', '11.*'] composer-flags: ['--prefer-stable'] can-fail: [false] include: @@ -18,6 +18,9 @@ jobs: 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 13918f8..2df30cb 100644 --- a/composer.json +++ b/composer.json @@ -5,15 +5,15 @@ "keywords": ["laravel", "twilio"], "require": { "php": "^8.1", - "illuminate/http": "^10.0", - "illuminate/support": "^10.0", + "illuminate/http": "^10.0 || ^11.0", + "illuminate/support": "^10.0 || ^11.0", "twilio/sdk": "^6.44 || ^7.0" }, "require-dev": { "guzzlehttp/guzzle": "^7.5", - "laravel/framework": "^10.0", - "orchestra/testbench": "^8.0", - "phpunit/phpunit": "^10.0" + "laravel/framework": "^10.0 || ^11.0", + "orchestra/testbench": "^8.0 || ^9.0", + "phpunit/phpunit": "^10.0 || ^11.0" }, "suggest": { "illuminate/notifications": "To use Laravel's notifications component with this package"