Download the PHP package houdunwang/rbac without Composer

On this page you can find all versions of the php package houdunwang/rbac. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rbac

RBAC

介绍

基于角色的访问控制(Role-Based Access Control)作为传统访问控制(自主访问,强制访问)的有前景的代替受到广泛的关注。在RBAC中,权限与角色相关联,用户通过成为适当角色的成员而得到这些角色的权限。这就极大地简化了权限的管理。

其他产品也可以使用该组件,请登录 GITHUB 查看源代码与说明文档。

组件使用依赖 Session组件Db组件 请参考相关组件文档先进行配置后才可以使用RBAC组件。

[TOC]

安装

使用 composer 命令进行安装或下载源代码使用。

HDPHP 框架已经内置此组件,无需要安装

数据表

RBAC权限控制使用数据库进行管理,需要先创建使用的数据表。

配置

操作

登录判断

验证权限

获取所有

获取用户所有角色名称

获取系统所有节点信息,以层级显示

判断超级管理员


All versions of rbac with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
houdunwang/config Version ~1.0
houdunwang/arr Version ~1.0
houdunwang/session Version ~1.0
houdunwang/db Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package houdunwang/rbac contains the following files

Loading the files please wait ....