democracyapps/powerbroker
Composer 安装命令:
composer require democracyapps/powerbroker
包简介
Simple system for managing capabilities of users or organizations based on tier or group to which they belong
README 文档
README
This is a simple Laravel utility to facilitate managing capabilities of users or organizations based on the tier or group to which they belong.
Instructions for Use
Installation
Begin by installing this package through Composer.
{
"require": {
"democracyapps/powerbroker": "dev-master"
}
}
Add the service provider to app.php
// app/config/app.php 'providers' => [ '...', 'DemocracyApps\PowerBroker\PowerBrokerServiceProvider', ];
For convenience, you may also add the Facade to app.php
'aliases' => [ '...', 'PowerBroker' => 'DemocracyApps\PowerBroker\PowerBrokerFacade', ];
Configuration Parameters
Next, publish the migrations by running
php artisan vendor:publish
This will create two migrations, one for power groups (table 'da_power_groups') and one for powers (table 'da_powers').
统计信息
- 总下载量: 56
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-08