best way to install permission rights in laravel by role code example
Example 1: laravel permission
//install laravel permission with composer installer for Laravel 6.0 or higher
composer require spatie/laravel-permission
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
Example 2: laravel roles and permissions
composer require spatie/laravel-permission