collection cluck retirer les doublons



$userIds = collect($participants['items'])->pluck('user_id')->unique()->toArray();


//$unique = $collection->unique();


Excited Elephant