How To Redirect To External Link With Laravel?


Sometimes you may need to redirect on external URL from our laravel 8 application like if you use something like Amazon API, Paypal API etc. so, Laravel 8 provide away() for redirect other external link for return redirect like bellow example:

return redirect()->away('');