Laravel onde vários valores
$userIds = [1, 2, 3];
$friend = DB::table('users')->whereIn('id', $userIds)->get();
Victor Cyr-Desmeules
$userIds = [1, 2, 3];
$friend = DB::table('users')->whereIn('id', $userIds)->get();