From 023e0d4fa1ad2957e34f69aedbfd6519c6cee19a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Heusinger?= Date: Mon, 27 May 2024 17:58:38 +0200 Subject: [PATCH] add support for laravel 9 and 10 to V3 --- .github/workflows/tests.yml | 9 +++++++-- composer.json | 12 ++++++------ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8a483f6..e5e6552 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,9 +15,14 @@ jobs: strategy: fail-fast: true matrix: - php: [ 8.2, 8.3 ] - laravel: [ 11.* ] + php: [ 8.1, 8.2, 8.3 ] + laravel: [ 9.*, 10.*, 11.* ] dependency-version: [ prefer-stable ] + exclude: + - php: 8.3 + laravel: 9.* + - php: 8.1 + laravel: 11.* with: PHP_VERSION: ${{ matrix.php }} LARAVEL_VERSION: ${{ matrix.laravel }} diff --git a/composer.json b/composer.json index e548712..ebf8d6c 100644 --- a/composer.json +++ b/composer.json @@ -21,21 +21,21 @@ } ], "require": { - "php": "^8.2", + "php": "^8.1", "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", "ext-pdo": "*", "ext-sodium": "*", "guzzlehttp/guzzle": "^7.4", - "illuminate/support": "^11.0", - "laravel/framework": "^11.0", - "laravel/sanctum": "^4.0" + "illuminate/support": "^9.0|^10.0|^11.0", + "laravel/framework": "^9.0|^10.0|^11.0", + "laravel/sanctum": "^3.2|^4.0" }, "require-dev": { "laravel/sail": "^1.26", - "orchestra/testbench": "^9.0", - "phpunit/phpunit": "^10.5" + "orchestra/testbench": "^7.0|^8.0|^9.0", + "phpunit/phpunit": "^9.5|^10.5" }, "autoload": { "psr-4": {