From 41a18459e09f1342e8e0a75733396994c4f7e2e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 28 Oct 2020 11:58:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 7fd81a07..39d41e5d 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ ], "license": "MIT", "require": { - "php": ">= 7.1", + "php": ">=7.4", "swoole/ide-helper": "@dev", "ext-json": "*", "phpmailer/phpmailer": "^6.1", @@ -26,7 +26,11 @@ "ext-curl": "*", "ext-openssl": "*", "amphp/amp": "v1.2.2", - "psr/log": "1.*" + "psr/log": "1.*", + "ext-sockets": "*", + "ext-pcntl": "*", + "ext-posix": "*", + "ext-rdkafka": "*" }, "autoload": { "psr-4": { @@ -43,5 +47,8 @@ "error.php", "function.php" ] + }, + "require-dev": { + "kwn/php-rdkafka-stubs": "^2.0" } }