search in all users exist relation or not value in laravel code example
Example: if notexists in laravel query
if (User::where('email', '=', Input::get('email'))->exists()) {
// user found
}
if (User::where('email', '=', Input::get('email'))->exists()) {
// user found
}