From 01c115dc695fd19126877f480ab2a00e18ece56a Mon Sep 17 00:00:00 2001 From: miskith Date: Wed, 9 Apr 2025 10:57:54 +0200 Subject: [PATCH] Add support for Laravel 12 --- .github/workflows/test.yml | 6 ++++-- composer.json | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea8acd9..60f03b9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,11 +15,13 @@ jobs: max-parallel: 6 # 12 fail-fast: false matrix: - laravel: [10, 11] + laravel: [10, 11, 12] php: ['8.2', '8.3', '8.4'] - phpunit: [10] + phpunit: [10, 11] exclude: - {laravel: 10, php: '8.4'} + - {laravel: 10, phpunit: 11} + - {laravel: 12, phpunit: 10} steps: - name: Checkout repository uses: actions/checkout@v3 diff --git a/composer.json b/composer.json index 3eb7a0e..228ed90 100644 --- a/composer.json +++ b/composer.json @@ -12,12 +12,12 @@ "require": { "php": "^8.0", "rdx/laravelcollective-html": "^6", - "illuminate/database": "^10 || ^11", - "illuminate/validation": "^10 || ^11" + "illuminate/database": "^10 || ^11 || ^12", + "illuminate/validation": "^10 || ^11 || ^12" }, "require-dev": { - "orchestra/testbench": "^8 || ^9", - "phpunit/phpunit": "^10.0" + "orchestra/testbench": "^8 || ^9 || ^10", + "phpunit/phpunit": "^10.0 || ^11.0" }, "extra": { "branch-alias": {