Php Get Duplicate Values In Array In Laravel