Download the PHP package hlf513/phprbac without Composer
On this page you can find all versions of the php package hlf513/phprbac. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hlf513/phprbac
More information about hlf513/phprbac
Files in hlf513/phprbac
Download hlf513/phprbac
More information about hlf513/phprbac
Files in hlf513/phprbac
Vendor hlf513
Package phprbac
Short Description OWASP/phprbac的修改版。修复了一些bug,并对数据库配置的获取做了调整
License Apache-2.0
Homepage http://phprbac.net/
Package phprbac
Short Description OWASP/phprbac的修改版。修复了一些bug,并对数据库配置的获取做了调整
License Apache-2.0
Homepage http://phprbac.net/
Please rate this library. Is it a good library?
Informations about the package phprbac
PHP-RBAC v2.0 修正版
使用方法见:http://phprbac.net
修改的地方
- 规范了注释
- 修改了bug
- base.php中的delete()方法:
$this->left => $this->Left
- rbac.php中\BascRbac的descendants()方法:
//$out [$v['Title']] = $v;
$out [] = $v;
- base.php中的delete()方法:
-
增加了数据库配置的参数化
$rbac = new \PhpRbac\Rbac($db->pdo,'phprbac_');
参数有三种
- string : 'unit_test'
- array : db配置数组
- object : PDO | mysqli
- 其他
- 未定义变量的初始化
安装
composer require hlf513/phprbac
All versions of phprbac with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3
ext-pdo Version *
ext-sqlite3 Version *
ext-mysqli Version *
ext-pdo Version *
ext-sqlite3 Version *
ext-mysqli Version *
The package hlf513/phprbac contains the following files
Loading the files please wait ....