Получите пользователей по названию роли - Spatie/Laravel -Permission
User::whereHas("roles", function($q){ $q->where("name", "Member"); })->get()
Colorful Crossbill
User::whereHas("roles", function($q){ $q->where("name", "Member"); })->get()
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
php artisan permission:create-role writer web