From 6cfaae07a3fd1bd92eb949f5888ae31d60b4f0f9 Mon Sep 17 00:00:00 2001 From: Attila Fulop <1162360+fulopattila122@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:49:39 +0200 Subject: [PATCH] Added Laravel 11 support --- .github/workflows/tests.yml | 8 ++++++-- Changelog.md | 5 +++++ composer.json | 6 ++++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c9bd0ff..27f4500 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,13 +9,17 @@ jobs: strategy: matrix: php: ['8.0', '8.1', '8.2', '8.3'] - laravel: ['8.75', '8.83', '9.0', '9.52', '10.0', '10.32'] + laravel: ['8.75', '8.83', '9.0', '9.52', '10.0', '10.39', '11.x'] enum: ['2', '3', '4'] exclude: - php: '8.0' laravel: '10.0' - php: '8.0' - laravel: '10.32' + laravel: '10.39' + - php: '8.0' + laravel: '11.x' + - php: '8.1' + laravel: '11.x' name: PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }} Enum ${{ matrix.enum }} steps: - name: Checkout diff --git a/Changelog.md b/Changelog.md index 928867f..7779697 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,11 @@ # Changelog ### Konekt Enum Eloquent +## Unreleased +##### 2024-XX-YY + +- Added Laravel 11 support (experimental, pre-release) + ## 1.9.2 ##### 2023-11-17 diff --git a/composer.json b/composer.json index e1541b7..d03c80d 100644 --- a/composer.json +++ b/composer.json @@ -4,6 +4,8 @@ "type": "library", "license": "MIT", "keywords": ["enum", "konekt", "artkonekt", "laravel", "eloquent"], + "minimum-stability": "dev", + "prefer-stable": true, "support": { "source": "https://github.com/artkonekt/enum-eloquent" }, @@ -24,11 +26,11 @@ "require": { "php": "^8.0", "konekt/enum": "^2.0.2 || ^3.0 | ^4.0", - "illuminate/database": "^8.75|9.*|10.*" + "illuminate/database": "^8.75|9.*|10.*|11.*" }, "require-dev": { "phpunit/phpunit": "9 - 10", - "illuminate/events": "^8.75|9.*|10.*" + "illuminate/events": "^8.75|9.*|10.*|11.*" }, "autoload": { "psr-4": { "Konekt\\Enum\\Eloquent\\": "src/" }