We can redirect to path using Redirect::to(“path”) and to route using Redirect::route(“route”) . What if you want to redirect to external url then we use Redirect::away()
Imran is a web developer and consultant from India. He is the founder of KodeInfo, the PHP and Laravel Community . In the meantime he follows other projects, works as a freelance backend consultant for PHP applications and studies IT Engineering . He loves to learn new things, not only about PHP or development but everything.
Deploying Laravel on DigitalOcean using Github and dploy.io