laravelrolemanagement maintained by pooyadch
LaravelRoleManagement
This is where your description should go. Take a look at contributing.md to see a to do list.
Installation
Via Composer
$ composer require pooyadch/laravelrolemanagement:dev-master
migrate all database
php artisan migrate
add following code into Kernel.php in App/Http
protected $routeMiddleware = [
'UserRolePermissionMiddleware' =>UserRolePermissionMiddleware::class,
];
Usage
add "UserRolePermissionMiddleware" middleware on your route
Change log
Please see the changelog for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
License
license. Please see the license file for more information.