where('phone', '=', $value) ->first(); if (!$userPhone) { return false; } return true; } }