File tree Expand file tree Collapse file tree 4 files changed +45
-296
lines changed
Expand file tree Collapse file tree 4 files changed +45
-296
lines changed Original file line number Diff line number Diff line change 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
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
2833git 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## 如何使用
Original file line number Diff line number Diff line change 1313 }
1414 ],
1515 "require" : {
16- "php" : " >=7.0 .0"
16+ "php" : " >=5.5 .0"
1717 },
1818 "autoload" : {
1919 "psr-4" : {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments