Skip to content

Commit de8da37

Browse files
committed
更新, 合并主干的功能更新和调整
1 parent a97b347 commit de8da37

File tree

4 files changed

+45
-296
lines changed

4 files changed

+45
-296
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@
66
77
## 项目地址
88

9-
- **git@osc** https://git.oschina.net/inhere/php-validate.git
10-
- **github** https://github.com/inhere/php-validate.git
9+
- **github** https://github.com/inhere/php-console.git
10+
- **git@osc** https://git.oschina.net/inhere/php-console.git
11+
12+
**注意:**
13+
14+
- master 分支是要求 `php >= 7` 的(推荐使用)。
15+
- php5 分支是支持 php 5 的代码分支
1116

1217
## 安装
1318

@@ -16,16 +21,17 @@
1621
编辑 `composer.json`,在 `require` 添加
1722

1823
```
19-
"inhere/php-validate": "dev-master",
24+
"inhere/php-validate": "dev-php5",
25+
// "inhere/php-validate": "dev-master", // for php7
2026
```
2127

2228
然后执行: `composer update`
2329

2430
- 直接拉取
2531

2632
```
27-
git clone https://git.oschina.net/inhere/php-validate.git // git@osc
2833
git clone https://github.com/inhere/php-validate.git // github
34+
git clone https://git.oschina.net/inhere/php-validate.git // git@osc
2935
```
3036

3137
## 如何使用

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
],
1515
"require": {
16-
"php": ">=7.0.0"
16+
"php": ">=5.5.0"
1717
},
1818
"autoload": {
1919
"psr-4": {

document.md

Lines changed: 0 additions & 257 deletions
This file was deleted.

0 commit comments

Comments
 (0)