Skip to content

Commit 9e818c4

Browse files
authored
Merge pull request #17 from basakest/docs
docs: fix a typo about installation and remove the branch name
2 parents 2ce44de + b0005e2 commit 9e818c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ All you need to learn to use `Casbin` first.
4747
Require this package in the `composer.json` of your easyswoole project. This will download the package.
4848

4949
```shell
50-
$ composer require
50+
$ composer install
5151
```
5252

5353
Or in the root directory of your easyswoole application, you can use the following composer command to install this package directly .
5454

5555
```shell
56-
$ composer require casbin/easyswoole-permission:dev-master
56+
$ composer require casbin/easyswoole-permission
5757
```
5858

5959
## Usage

README_CN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
在你的 easyswoole 应用的 `composer.json` 文件中指定该扩展。当你执行下面的 composer 命令时,该扩展会被下载。
4141

4242
```shell
43-
$ composer require
43+
$ composer install
4444
```
4545

4646
或者,在你 easyswoole 应用的根目录( `composer.json` 文件所在的目录)下,使用 composer 命令直接安装该扩展。
4747

4848
```shell
49-
$ composer require casbin/easyswoole-permission:dev-master
49+
$ composer require casbin/easyswoole-permission
5050
```
5151

5252
## 用法

0 commit comments

Comments
 (0)