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