torann/promise is a Laravel package for simple roles and permissions for laravel 5..
It currently has 13 GitHub stars and 1.146 downloads on Packagist (latest version 0.2.0).
Install it with composer require torann/promise.
Discover more Laravel packages by torann
or browse all Laravel packages to compare alternatives.
Last updated
Simple Roles and Permissions for Laravel 5. Homepage
To get the latest version of Promise simply require it in your composer.json file.
"torann/promise": "0.2.*@dev"
You'll then need to run composer install to download it and have the autoloader updated.
Once Promise is installed you need to register the service provider with the application. Open up config/app.php and find the providers key.
'providers' => array(
'Torann\Promise\PromiseServiceProvider',
)
Run this on the command line from the root of your project:
$ php artisan vendor:publish
A configuration file will be publish to config/promise.php and a migration file to database/migrations/
View the official documentation.