From 3c029b6457f68c1f41178242fe013248faf042cd Mon Sep 17 00:00:00 2001 From: Yurun Date: Fri, 31 Dec 2021 09:30:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=20(#240)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 88bfb85..5ed1686 100644 --- a/composer.json +++ b/composer.json @@ -4,8 +4,7 @@ "license": "MIT", "description": "在 imi 框架中接入 Swoole Tracker 监控", "require": { - "php": ">=7.1.0", - "ext-swoole": ">=4.4" + "imiphp/imi-swoole": "~2.0.0" }, "require-dev": {}, "autoload": { @@ -16,6 +15,10 @@ "autoload-dev": { "psr-4": { "Imi\\SwooleTracker\\Example\\": "example/" - } + }, + "files": [ + "../../../vendor/autoload.php", + "../../../dev/try-include-swoole.php" + ] } } \ No newline at end of file