Skip to content

Commit

Permalink
降低 PHP 版本依赖至 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Mar 27, 2020
1 parent bf1704c commit e122666
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ dist: trusty

matrix:
include:
- php: '5.5'
env: PHPUNIT_VERSION="4"
- php: '5.6'
env: PHPUNIT_VERSION="5"
- php: '7.0'
env: SWOOLE_VERSION="v4.3.6" PHPUNIT_VERSION="6"
- php: '7.1'
env: SWOOLE_VERSION="v4.3.6" PHPUNIT_VERSION="7"
- php: '7.2'
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ API 文档:[https://apidoc.gitee.com/yurunsoft/YurunHttp](https://apidoc.gitee

> 每个小版本的更新日志请移步到 Release 查看
v4.2.0 重构 Swoole 处理器,并发请求性能大幅提升 (PHP 版本依赖降为 >= 5.5)

v4.1.0 实现智能识别场景,自动选择适合 Curl/Swoole 环境的处理器

v4.0.0 新增支持 `Swoole` 并发批量请求 (PHP >= 7.1)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "yurunsoft/yurun-http",
"description": "YurunHttp 是开源的 PHP HTTP 类库,支持链式操作,简单易用。支持 Curl、Swoole,支持 Http、Http2、WebSocket!",
"require": {
"php": ">=7.1.0",
"php": ">=5.5.0",
"psr/http-message": "~1.0"
},
"require-dev": {
Expand Down

0 comments on commit e122666

Please sign in to comment.