laravel delete duplicate rows except one code example Example: remove repeated columns laravel $unique = $collection->unique();