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