From 2f39ef54b7dc0c68059cee0d3e93ae3e5df5ac3a Mon Sep 17 00:00:00 2001 From: SuperDJ <6484766+SuperDJ@users.noreply.github.com> Date: Mon, 3 Mar 2025 15:23:17 +0000 Subject: [PATCH] Inlcude Laravel 11 and PHP 8.3 support --- .github/workflows/ci.yml | 4 +++- .github/workflows/validate.yml | 2 +- composer.json | 8 ++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91699f08..c9d2f0a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,12 +16,14 @@ jobs: strategy: matrix: include: + - laravel: "^11.0" + php: "8.3" - laravel: "^12.0" php: "8.4" steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Composer dependencies run: | composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 73f6355b..24c26ebe 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -7,7 +7,7 @@ jobs: name: Validate code runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Check for todo0 run: '! grep -r "todo0" --exclude-dir=workflows .' if: always() diff --git a/composer.json b/composer.json index e3a7faf4..2ca88af3 100644 --- a/composer.json +++ b/composer.json @@ -16,9 +16,9 @@ } ], "require": { - "php": "^8.4", + "php": "^8.3", "ext-json": "*", - "illuminate/support": "^12.0", + "illuminate/support": "^11.0 || ^12.0", "laravel/tinker": "^2.0", "facade/ignition-contracts": "^1.0.2", "spatie/ignition": "^1.4", @@ -29,8 +29,8 @@ "laravel/prompts": "0.*" }, "require-dev": { - "laravel/framework": "^12.0", - "orchestra/testbench": "^10.0", + "laravel/framework": "^11.0 || ^12.0", + "orchestra/testbench": "^9.0 || ^10.0", "league/flysystem-aws-s3-v3": "^3.12.2", "doctrine/dbal": "^3.6.0", "spatie/valuestore": "^1.2.5",