Download the PHP package imiphp/imi-access-control without Composer

On this page you can find all versions of the php package imiphp/imi-access-control. 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 imi-access-control

imi-access-control

Latest Version Php Version Swoole Version IMI License

介绍

imi 框架的权限控制组件,不提供具体 API、管理界面,仅提供基础操作组件。

本组件中支持:角色关联操作,用户关联角色,用于关联操作。

用户除了角色赋予的操作权限以外,还可以单独赋予操作权限。

本仓库仅用于浏览,不接受 issue 和 Pull Requests,请前往:https://github.com/imiphp/imi

Composer

本项目可以使用composer安装,遵循psr-4自动加载规则,在你的 composer.json 中加入下面的内容:

然后执行 composer update 安装。

使用

在项目 config/config.php 中配置:

操作权限

创建操作权限

角色

创建角色

获取角色信息

获取角色操作权限

增加、设置权限

移除权限

判断角色是否拥有权限

用户

获取该用户所有角色

增加、设置角色

移除角色

判断用户是否拥有角色

获取用户操作权限

增加、设置权限

移除权限

判断用户是否拥有权限

免费技术支持

QQ群:17916227 点击加群,如有问题会有人解答和修复。

运行环境

版权信息

imi-access-control 遵循 MIT 开源协议发布,并提供免费使用。

捐赠

开源不求盈利,多少都是心意,生活不易,随缘随缘……


All versions of imi-access-control with dependencies

PHP Build Version
Package Version
No informations.
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 imiphp/imi-access-control contains the following files

Loading the files please wait ....