In this video, we are going to install Role & Permission package. Create new roles and attach them to the user. Github Repo: https://github.com/jeremykenedy/laravel-roles. A Powerful package for handling roles and permissions in Laravel with GUI. Supports Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6.0, 7.0, 8.0, and 9.0.
Laravel Role and Permissions Features
- Built in migrations with ability to publish and modify your own.
- Built in seed with ability to publish and modify your own.
- Roles with levels and relationships to users, permissions.
- Permissions with relationships to users and levels.
- Soft deletes with full restore and destroy.
- Optional CRUD of Roles and Permissions.
Installation
composer require jeremykenedy/laravel-roles
Publish All Assets
php artisan vendor:publish --tag=laravelroles
Watch the video tutorial.