democracyapps / powerbroker
Simple system for managing capabilities of users or organizations based on tier or group to which they belong
Installs: 56
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=5.4.0
- illuminate/support: ~5.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2025-05-10 20:57:58 UTC
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').