From d4a1d9a3d20297ad3d36fb7c74cd30509ec0380e Mon Sep 17 00:00:00 2001 From: Gustavo Novaro Date: Tue, 12 Mar 2024 23:10:06 +0100 Subject: [PATCH] Add Laravell 11 support (#24) * Fix Laravell 11 setup * Upgrade from 9.x-dev to 9.x * add workflows for testing L11 * fix composer versions * Closes #23 --------- Co-authored-by: Mo Khosh --- .github/workflows/run-tests.yml | 8 +++++++- composer.json | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 75c3168..b4ad310 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,12 +14,18 @@ jobs: matrix: os: [ubuntu-latest] php: [8.3, 8.2, 8.1] - laravel: [10.*] + laravel: [11.*, 10.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* carbon: ^2.63 + - laravel: 11.* + testbench: 9.* + carbon: ^3.0 + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 46f8ff5..0783068 100644 --- a/composer.json +++ b/composer.json @@ -23,12 +23,12 @@ "php": "^8.1", "filament/filament": "^3.0", "spatie/laravel-package-tools": "^1.15.0", - "illuminate/contracts": "^10.0" + "illuminate/contracts": "^10.0|^11.0" }, "require-dev": { "laravel/pint": "^1.0", - "nunomaduro/collision": "^7.9", - "orchestra/testbench": "^8.0", + "nunomaduro/collision": "^7.9|^8.0", + "orchestra/testbench": "^8.0|^9.0", "pestphp/pest": "^2.0", "pestphp/pest-plugin-arch": "^2.0", "pestphp/pest-plugin-laravel": "^2.0",