From 2b42996e46591736ad39feab8dda27171313382c Mon Sep 17 00:00:00 2001 From: lysice Date: Mon, 30 Jan 2023 15:49:59 +0800 Subject: [PATCH] [feat] hyperf 3.0 support --- composer.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index f8bdbbc..20a9542 100644 --- a/composer.json +++ b/composer.json @@ -32,21 +32,21 @@ } }, "require": { - "php": ">=7.3", + "php": "8.0 || 8.1", "ext-swoole": ">=4.5", "ext-json": "*", "ext-openssl": "*", - "hyperf/cache": "^2.1", - "hyperf/command": "^2.1", - "hyperf/config": "^2.1", - "hyperf/di": "^2.1", - "hyperf/framework": "^2.1", + "hyperf/cache": "3.0.*", + "hyperf/command": "3.0.*", + "hyperf/config": "3.0.*", + "hyperf/di": "3.0.*", + "hyperf/framework": "3.0.*", "lcobucci/jwt": "~4.1.0", "nesbot/carbon": "^2.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", - "hyperf/testing": "^2.1", + "hyperf/testing": "3.0.*", "phpstan/phpstan": "^0.12", "swoole/ide-helper": "dev-master", "mockery/mockery": "^1.0"