Download the PHP package sunsgne/casbin without Composer
On this page you can find all versions of the php package sunsgne/casbin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package casbin
sunsgne/webman-casbin
🐬 webman casbin-based permission assignment management 🐬
[![Latest Stable Version](http://poser.pugx.org/sunsgne/casbin/v)](https://packagist.org/packages/sunsgne/casbin)
[![Total Downloads](http://poser.pugx.org/sunsgne/casbin/downloads)](https://packagist.org/packages/sunsgne/casbin)
[![Latest Unstable Version](http://poser.pugx.org/sunsgne/casbin/v/unstable)](https://packagist.org/packages/sunsgne/casbin)
[![License](http://poser.pugx.org/sunsgne/casbin/license)](https://packagist.org/packages/sunsgne/casbin)
[![PHP Version Require](http://poser.pugx.org/sunsgne/casbin/require/php)](https://packagist.org/packages/sunsgne/casbin)
webman casbin 权限认证
基于php-casbin,与webman-permission不同之处是没有用thinkorm,然后解决了几个错误
依赖
安装
使用
1. 依赖注入配置
修改配置config/container.php
,其最终内容如下:
2.创建 casbin_rule
数据表
用法
你可以检查一个用户是否拥有某个权限:
获取角色|用户
响应
All versions of casbin with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
illuminate/database Version ^8.83
casbin/casbin Version ^3.20
php-di/php-di Version ^6.3
workerman/redis Version ^1.0
illuminate/database Version ^8.83
casbin/casbin Version ^3.20
php-di/php-di Version ^6.3
workerman/redis Version ^1.0
The package sunsgne/casbin contains the following files
Loading the files please wait ....