pooyadch/laravelrolemanagement

dev-master 2018-08-08 13:36 UTC

This package is not auto-updated.

Last update: 2020-01-02 20:42:00 UTC


README

Latest Version on Packagist Total Downloads Build Status StyleCI

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.