The use case here is to redirect the user to another domain. I haven't come across Redirect::away() before, even though it's been added in Laravel 4.0.8.
1) Laravel Redirect to URL · 2) Laravel Redirect back to previous page · 3) Laravel Redirect to Named Routes · 4) Laravel Redirect to Named Routes with parameters.
Laravel offers two common ways to handle redirects and send users to where they should be. You can redirect with the redirect helper or the Redirect facade.
Redirecting to Controller Actions. Not only named route but we can also redirect to controller actions. We need to simply pass the controller and name of the ...
Redirect responses are instances of the Illuminate\Http\RedirectResponse class, and contain the proper headers needed to redirect the user to another URL.