Skip to content

Commit

Permalink
优化composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
bingcool committed Feb 17, 2019
1 parent 845af2c commit ee94f83
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 1 addition & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit ee94f83

Please sign in to comment.