Obtener usuario con rol laravel
$students = User::whereHas(
'roles', function($q){
$q->where('name', 'Teacher');
}
)->get();
Quaint Quail
$students = User::whereHas(
'roles', function($q){
$q->where('name', 'Teacher');
}
)->get();