Skip to content

Commit

Permalink
Update composer.json (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Jan 2, 2021
1 parent a868744 commit 124dab7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@
],
"require": {
"php": ">=7.0",
"ext-mbstring": "*",
"ext-swoole": ">=4.4.19"
"ext-mbstring": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"phpunit/phpunit": "^7.0.0",
"swoole/ide-helper": ">=4.4.19"
},
"suggest": {
"ext-swoole": "The ext-swoole >= v4.4.19 needs to be loaded when using the MQTT Client."
},
"autoload": {
"psr-4": {
"Simps\\MQTT\\": "src/"
Expand Down
2 changes: 1 addition & 1 deletion docs/en/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Support for `QoS 0`, `QoS 1`, `QoS 2`.
## Requirements

* PHP >= `7.0`
* ext-swoole >= `4.4.19`
* ext-mbstring
* [ext-swoole](https://github.com/swoole/swoole-src) >= `4.4.19` (The ext-swoole >= `v4.4.19` needs to be loaded when using [the MQTT Client](/en/client))

## Install

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
## 依赖要求

* PHP >= `7.0`
* Swoole >= `4.4.19`
* mbstring PHP 扩展
* [Swoole 扩展](https://github.com/swoole/swoole-src) >= `4.4.19` (使用 [Client](/zh-cn/client) 时需要)

## 安装

Expand Down

0 comments on commit 124dab7

Please sign in to comment.