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