From 0e6e64f1e0b580df5e97306a7996eabb0eb2b5b4 Mon Sep 17 00:00:00 2001 From: Evan Burrell Date: Wed, 25 Mar 2026 14:36:43 +0000 Subject: [PATCH 1/3] Add Laravel 13 Support --- .github/workflows/main.yml | 11 ++++++++++- composer.json | 14 +++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 28d7819..0055692 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,8 +54,13 @@ jobs: strategy: matrix: php: [8.2, 8.3, 8.4, 8.5] - laravel: ['^11.0', '^12.0', '12.x-dev'] + laravel: ['^11.0', '^12.0', '^13.0', '13.x-dev'] prefer: [prefer-lowest, prefer-stable] + exclude: + - php: 8.2 + laravel: '^13.0' + - php: 8.2 + laravel: '13.x-dev' steps: - name: checkout code @@ -100,6 +105,10 @@ jobs: if: ${{ matrix.php == 8.4 && matrix.prefer == 'prefer-lowest' }} run: composer require --no-update nesbot/carbon:^3.0 + - name: Support prefer-lowest in PHP 8.5 + if: ${{ matrix.php == 8.5 && matrix.prefer == 'prefer-lowest' }} + run: composer require --no-update nesbot/carbon:^3.0 + - name: Install dependencies run: composer update --${{ matrix.prefer }} diff --git a/composer.json b/composer.json index 267bddd..134c431 100644 --- a/composer.json +++ b/composer.json @@ -18,16 +18,16 @@ ], "require": { "php": "^8.2", - "illuminate/collections": "^11.0 || ^12.0", - "illuminate/database": "^11.0 || ^12.0", - "illuminate/http": "^11.0 || ^12.0", - "illuminate/support": "^11.0 || ^12.0", - "symfony/http-kernel": "^7.0" + "illuminate/collections": "^11.0 || ^12.0 || ^13.0", + "illuminate/database": "^11.0 || ^12.0 || ^13.0", + "illuminate/http": "^11.0 || ^12.0 || ^13.0", + "illuminate/support": "^11.0 || ^12.0 || ^13.0", + "symfony/http-kernel": "^7.0 || ^8.0" }, "require-dev": { - "laravel/framework": "^11.0 || ^12.0", + "laravel/framework": "^11.0 || ^12.0 || ^13.0", "opis/json-schema": "^2.3", - "orchestra/testbench": "^9.0 || ^10.0", + "orchestra/testbench": "^9.0 || ^10.0 || ^11.0", "phpunit/phpunit": "^9.0 || ^10.5 || ^11.5" }, "config": { From 38bc4f3074aa8bc7a697263d7621830012d4c249 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Thu, 26 Mar 2026 11:16:43 +1100 Subject: [PATCH 2/3] Apply suggestion from @timacdonald --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0055692..f2a34bd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,7 +54,7 @@ jobs: strategy: matrix: php: [8.2, 8.3, 8.4, 8.5] - laravel: ['^11.0', '^12.0', '^13.0', '13.x-dev'] + laravel: ['^11.0', '^12.0', '^13.0'] prefer: [prefer-lowest, prefer-stable] exclude: - php: 8.2 From 02fe14a1738484d1fdfc31daa65c607d60dae41f Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Thu, 26 Mar 2026 11:16:49 +1100 Subject: [PATCH 3/3] Apply suggestion from @timacdonald --- .github/workflows/main.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2a34bd..745a763 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,8 +59,6 @@ jobs: exclude: - php: 8.2 laravel: '^13.0' - - php: 8.2 - laravel: '13.x-dev' steps: - name: checkout code