From ee94f837287513ad433ee594e5292b7bb9e63673 Mon Sep 17 00:00:00 2001 From: bingcool <2437667702@qq.com> Date: Sun, 17 Feb 2019 09:18:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96composer.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++++++- composer.json | 9 +-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0e888e87..b844039c 100755 --- a/README.md +++ b/README.md @@ -26,7 +26,15 @@ swoolefy是一个基于swoole实现的轻量级高性能的常驻内存型的API - [x] 命令行形式高度封装启动|停止控制的脚本,简单命令即可管理整个框架 - [ ] 分布式服务注册(zk,etcd) - +### 支持组件 +| 组件名称 | 安装 | 说明 | +| ------ | ------ | ------ | +| swoolefy-orm | composer require bingcool/swoolefy-orm:1.2.* | 基于tp-orm实现的适配swoolefy的协程组件 | +| predis | composer require predis/predis:1.1.1 | swoolefy基于predis组件实现容器封装,使用redis操作需要安装此组件 | +| mongodb | composer require mongodb/mongodb:1.3 | mongodb组件,需要使用mongodb必须安装此组件 | +| rpc-client | composer require bingcool/rpc-client:dev-master | swoolefy的rpc客户端,当与rpc服务端通信时,需要安装此组件,支持在php-fpm中使用 | +| cron-expression | composer require dragonmantank/cron-expression | crontal组件,需要使用定时任务时必须安装此组件 | + ### 开发文档手册 文档:[开发文档](https://www.kancloud.cn/bingcoolhuang/php-swoole-swoolefy/587501) diff --git a/composer.json b/composer.json index dfc629f3..69d06339 100755 --- a/composer.json +++ b/composer.json @@ -24,14 +24,7 @@ "require": { "monolog/monolog": "1.23.0", "swiftmailer/swiftmailer": "6.0.1", - "smarty/smarty": "3.1.30", - "nesbot/carbon": "^1.22", - "predis/predis": "1.1.1", - "swlib/saber": "dev-master", - "bingcool/rpc-client": "dev-master", - "mongodb/mongodb": "1.3", - "dragonmantank/cron-expression": "dev-master", - "bingcool/swoolefy-orm": "dev-master" + "smarty/smarty": "3.1.30" }, "autoload": { "psr-4": {