File tree 4 files changed +45
-296
lines changed
4 files changed +45
-296
lines changed Original file line number Diff line number Diff line change 6
6
7
7
## 项目地址
8
8
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 的代码分支
11
16
12
17
## 安装
13
18
16
21
编辑 ` composer.json ` ,在 ` require ` 添加
17
22
18
23
```
19
- "inhere/php-validate": "dev-master",
24
+ "inhere/php-validate": "dev-php5",
25
+ // "inhere/php-validate": "dev-master", // for php7
20
26
```
21
27
22
28
然后执行: ` composer update `
23
29
24
30
- 直接拉取
25
31
26
32
```
27
- git clone https://git.oschina.net/inhere/php-validate.git // git@osc
28
33
git clone https://github.com/inhere/php-validate.git // github
34
+ git clone https://git.oschina.net/inhere/php-validate.git // git@osc
29
35
```
30
36
31
37
## 如何使用
Original file line number Diff line number Diff line change 13
13
}
14
14
],
15
15
"require" : {
16
- "php" : " >=7.0 .0"
16
+ "php" : " >=5.5 .0"
17
17
},
18
18
"autoload" : {
19
19
"psr-4" : {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments