remove duplicate collection laravel by multiple rows code example Example: laravel collection remove duplicates $unique = $collection->unique();