laravel get list without repetitions code example Example: laravel collection remove duplicates $unique = $collection->unique();