pooyadch / laravelrolemanagement
:description
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/pooyadch/laravelrolemanagement
Requires
Requires (Dev)
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~6.0
This package is not auto-updated.
Last update: 2020-01-02 20:42:00 UTC
README
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.