From d4e4d43db154ad0da439c8ba9a304069f33e3518 Mon Sep 17 00:00:00 2001 From: Ideal Hou Date: Thu, 2 Jun 2022 17:59:04 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A7=A3=E9=99=A4=20https://github.com/PHP?= =?UTF-8?q?-DI/PHP-DI=E4=BE=9D=E8=B5=96=E7=9A=84=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E6=96=B9=E6=A1=88=EF=BC=88=E4=B8=8D=E6=8E=A8=E8=8D=90=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 115bab5..7a51e99 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,9 @@ if (Permission::enforce("eve", "articles", "edit")) { [Casbin](https://github.com/php-casbin/php-casbin),你可以查看全部文档在其 [官网](https://casbin.org/) 上。 -## ~~解除 [PHP-DI](https://github.com/PHP-DI/PHP-DI) 依赖的解决方案(不推荐)~~ +
+ + 解除 https://github.com/PHP-DI/PHP-DI依赖的解决方案(不推荐) 1、卸载DI依赖包:`composer remove php-di/php-di` @@ -133,3 +135,4 @@ if (is_null(static::$_manager)) { } ``` 耦合太高,不建议这么搞,更多了解:https://www.workerman.net/doc/webman/di.html +
From c3432c187dcf3024a982fced87032e7f031eccd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ShaoBo=20Wan=28=E7=84=A1=E5=B0=98=29?= <756684177@qq.com> Date: Thu, 2 Jun 2022 20:46:18 +0800 Subject: [PATCH 2/2] today download --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a51e99..f2afd2d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ # webman casbin plugin -[![Latest Stable Version](http://poser.pugx.org/casbin/webman-permission/v)](https://packagist.org/packages/casbin/webman-permission) [![Total Downloads](http://poser.pugx.org/casbin/webman-permission/downloads)](https://packagist.org/packages/casbin/webman-permission) [![Latest Unstable Version](http://poser.pugx.org/casbin/webman-permission/v/unstable)](https://packagist.org/packages/casbin/webman-permission) [![License](http://poser.pugx.org/casbin/webman-permission/license)](https://packagist.org/packages/casbin/webman-permission) [![PHP Version Require](http://poser.pugx.org/casbin/webman-permission/require/php)](https://packagist.org/packages/casbin/webman-permission) +[![Latest Stable Version](http://poser.pugx.org/casbin/webman-permission/v)](https://packagist.org/packages/casbin/webman-permission) +[![Total Downloads](http://poser.pugx.org/casbin/webman-permission/downloads)](https://packagist.org/packages/casbin/webman-permission) +[![Daily Downloads](http://poser.pugx.org/casbin/webman-permission/d/daily)](https://packagist.org/packages/casbin/webman-permission) +[![Latest Unstable Version](http://poser.pugx.org/casbin/webman-permission/v/unstable)](https://packagist.org/packages/casbin/webman-permission) +[![License](http://poser.pugx.org/casbin/webman-permission/license)](https://packagist.org/packages/casbin/webman-permission) +[![PHP Version Require](http://poser.pugx.org/casbin/webman-permission/require/php)](https://packagist.org/packages/casbin/webman-permission) An authorization library that supports access control models like ACL, RBAC, ABAC for webman plugin