Получите пользователя с роли 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();