Laravel - Responses - Redirecting External Domains

Sometimes you may need to redirect to a domain outside of your application. You may do so by calling the away method, which creates a RedirectResponse without any additional URL encoding, validation, or verification:

    
    return redirect()->away('https://www.google.com');