From 6f04de45e2b536dbc61ebfc02f7f6657fc811018 Mon Sep 17 00:00:00 2001 From: Samuel Nitsche Date: Sat, 4 Feb 2023 14:23:44 +0100 Subject: [PATCH 1/3] Add support for Laravel 10 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a1a5f7f..b3d26cf 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ ], "require": { "php": "^8.0", - "laravel/framework": "^9.0", + "laravel/framework": "^9.0|^10.0", "ramsey/uuid": "^4.0" }, "autoload": { From 2db01ca023aa2dde415c315c2d7c5f935e6954ad Mon Sep 17 00:00:00 2001 From: Samuel Nitsche Date: Sat, 4 Feb 2023 14:28:10 +0100 Subject: [PATCH 2/3] Remove support for older Laravel versions --- .github/workflows/tests.yml | 2 +- composer.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 26b6a1a..a9b4452 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - php: [8.0, 8.1] + php: [8.1] stability: [prefer-lowest, prefer-stable] # Steps represent a sequence of tasks that will be executed as part of the job diff --git a/composer.json b/composer.json index b3d26cf..41368c1 100644 --- a/composer.json +++ b/composer.json @@ -9,8 +9,8 @@ } ], "require": { - "php": "^8.0", - "laravel/framework": "^9.0|^10.0", + "php": "^8.1", + "laravel/framework": "^10.0", "ramsey/uuid": "^4.0" }, "autoload": { @@ -24,7 +24,7 @@ } }, "require-dev": { - "orchestra/testbench": "^7.0", + "orchestra/testbench": "^8.0", "phpunit/phpunit": "^9.3", "mockery/mockery": "^1.4" }, From e87b53071f6b6e042ee3692abf728278a57546a3 Mon Sep 17 00:00:00 2001 From: Samuel Nitsche Date: Thu, 9 Feb 2023 19:52:28 +0100 Subject: [PATCH 3/3] Updated readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 46e86e3..a8c85cc 100644 --- a/README.md +++ b/README.md @@ -32,13 +32,14 @@ Invite Codes: 7.x | 5.x 8.x | 6.x 9.x | 7.x + 10.x | 8.x ## Installation You can pull in the package using [composer](https://getcomposer.org): ```bash -$ composer require "clarkeash/doorman=^7.0" +$ composer require "clarkeash/doorman=^8.0" ``` Next, migrate the database: