dev-master
9999999-devSimple system for managing capabilities of users or organizations based on tier or group to which they belong
MIT
The Requires
- php >=5.4.0
- illuminate/support ~5.0
The Development Requires
by Eric Jackson
Wallogit.com
2017 © Pedro Peláez
Simple system for managing capabilities of users or organizations based on tier or group to which they belong
This is a simple Laravel utility to facilitate managing capabilities of users or organizations based on the tier or group to which they belong., (*1)
Begin by installing this package through Composer., (*2)
{
"require": {
"democracyapps/powerbroker": "dev-master"
}
}
Add the service provider to app.php, (*3)
// app/config/app.php
'providers' => [
'...',
'DemocracyApps\PowerBroker\PowerBrokerServiceProvider',
];
For convenience, you may also add the Facade to app.php, (*4)
'aliases' => [
'...',
'PowerBroker' => 'DemocracyApps\PowerBroker\PowerBrokerFacade',
];
Next, publish the migrations by running, (*5)
php artisan vendor:publish
This will create two migrations, one for power groups (table 'da_power_groups') and one for powers (table 'da_powers')., (*6)
Simple system for managing capabilities of users or organizations based on tier or group to which they belong
MIT