From 5e139040c5ce20b7a931069f64d5ccb2ca0875f3 Mon Sep 17 00:00:00 2001 From: lysice Date: Mon, 30 Jan 2023 15:24:43 +0800 Subject: [PATCH] [feat] hyperf 3.0 support --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index e19b108..1247fb6 100644 --- a/composer.json +++ b/composer.json @@ -29,14 +29,14 @@ } }, "require": { - "php": ">=7.3", - "hyperf/config": "^2.1", - "hyperf/di": "^2.1", - "hyperf/framework": "^2.1" + "php": "8.0 || 8.1", + "hyperf/config": "3.0.*", + "hyperf/di": "3.0.*", + "hyperf/framework": "3.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" },