Skip to content

Commit c6c6850

Browse files
authored
Update README.md
1 parent 891d84f commit c6c6850

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# php 命令行应用库
22

3-
[![License](https://img.shields.io/packagist/l/inhere/console.svg?style=flat-square)](LICENSE-2.0.txt)
3+
[![License](https://img.shields.io/packagist/l/inhere/console.svg?style=flat-square)](LICENSE)
44
[![Php Version](https://img.shields.io/badge/php-%3E=7.0-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/inhere/console)
55
[![Latest Stable Version](http://img.shields.io/packagist/v/inhere/console.svg)](https://packagist.org/packages/inhere/console)
66

@@ -34,12 +34,20 @@
3434

3535
## 安装
3636

37-
- 使用 composer
37+
- 使用 composer 命令
38+
39+
```bash
40+
composer require inhere/console
41+
```
42+
43+
- 使用 composer.json
3844

3945
编辑 `composer.json`,在 `require` 添加
4046

4147
```
4248
"inhere/console": "dev-master",
49+
50+
// "inhere/console": "^2.0", // 指定稳定版本
4351
// "inhere/console": "dev-php5", // for php5
4452
```
4553

0 commit comments

Comments
 (0)