$user = User::updateOrCreate( ['email' => request('email')], ['name' => request('name')] ); // Do other things with the User