Skip to content

Commit

Permalink
Add Middlewares link to README.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Apr 4, 2019
1 parent 5693e31 commit 7dce178
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ if ($e->enforce($sub, $obj, $act) === true) {
- [Policy persistence](#policy-persistence)
- [Role manager](#role-manager)
- [Examples](#examples)
- [Middlewares](#middlewares)
- [Our adopters](#our-adopters)

## Supported models
Expand Down Expand Up @@ -189,17 +190,13 @@ RESTful | [keymatch_model.conf](https://github.com/php-casbin/php-casbin/blob/ma
Deny-override | [rbac_model_with_deny.conf](https://github.com/php-casbin/php-casbin/blob/master/examples/rbac_with_deny_model.conf) | [rbac_policy_with_deny.csv](https://github.com/php-casbin/php-casbin/blob/master/examples/rbac_with_deny_policy.csv)
Priority | [priority_model.conf](https://github.com/php-casbin/php-casbin/blob/master/examples/priority_model.conf) | [priority_policy.csv](https://github.com/php-casbin/php-casbin/blob/master/examples/priority_policy.csv)

## Our adopters

### Web frameworks
## Middlewares

- [Laravel](https://laravel.com/): The PHP framework for web artisans, via plugin: [laravel-casbin](https://github.com/php-casbin/laravel-casbin)
Authz middlewares for web frameworks: https://casbin.org/docs/en/middlewares

- [Yii PHP Framework](https://www.yiiframework.com/): A fast, secure, and efficient PHP framework, via plugin: [yii-casbin](https://github.com/php-casbin/yii-casbin)

- [CakePHP](https://cakephp.org/): Build fast, grow solid | PHP Framework, via plugin: [cake-casbin](https://github.com/php-casbin/cake-casbin)
## Our adopters

- [ThinkPHP](http://www.thinkphp.cn/): The ThinkPHP framework, via plugin: [think-casbin](https://github.com/php-casbin/think-casbin)
https://casbin.org/docs/en/adopters

## License

Expand Down

0 comments on commit 7dce178

Please sign in to comment.