Skip to content

Commit 12545e2

Browse files
authored
Update README.md
1 parent 16bd74c commit 12545e2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
</a>
2525
</p>
2626

27-
它基于 [Casbin](https://github.com/php-casbin/php-casbin), 一个强大的、高效的开源访问控制框架,它支持基于各种访问控制模型的权限管理
27+
它基于 [PHP-Casbin](https://github.com/php-casbin/php-casbin), 一个强大的、高效的开源访问控制框架,支持基于`ACL`, `RBAC`, `ABAC`等访问控制模型
2828

29-
在这之前,你需要了解 `Casbin` 的相关知识.
29+
在这之前,你需要了解 [Casbin](https://github.com/php-casbin/php-casbin) 的相关知识
3030

3131
* [安装](#安装)
3232
* [用法](#用法)
@@ -38,13 +38,15 @@
3838

3939
## 安装
4040

41+
> 该扩展需要 PHP 7.1+ 和 ThinkPHP 6.0+,针对 TP 5.1 请使用 [Think-Casbin](https://github.com/php-casbin/think-casbin) .
42+
4143
使用`composer`安装:
4244

4345
```
4446
composer require casbin/think-authz
4547
```
4648

47-
注册服务,在应用的全局公共文件service.php中加入
49+
注册服务,在应用的全局公共文件`service.php`中加入
4850

4951
```php
5052
return [
@@ -234,4 +236,4 @@ Route::get('news/:id','News/Show')
234236

235237
## License
236238

237-
This project is licensed under the [Apache 2.0 license](LICENSE).
239+
This project is licensed under the [Apache 2.0 license](LICENSE).

0 commit comments

Comments
 (0)