In this post, you'll learn how you can get the current URL in Laravel 6. Also, this tutorial shows you how you can get the previous URL in Laravel
Originally published at https://www.tutsmake.com
Us the below give a method for get current URL without the query string
Use global url function
Use the current function
Get current full URL with query string parameters
Use the below method for- get the current path in Laravel
Sometimes we need to check what was the last requested or previous URL, it is simple to do in Laravel here is how
If you have any questions or thoughts to share, use the comment form below to reach us.
Thanks for reading ❤
If you liked this post, share it with all of your programming buddies!
As a top **PHP Web Application Development Company in USA**[https://www.dataeximit.com/php-development-services/](https://www.dataeximit.com/php-development-services/ "https://www.dataeximit.com/php-development-services/"), we at Data EximIT have...
Skenix Infotech is a leading PHP Web Development Company that helps companies get results with industry best practices. Get affordable PHP Development Services.
Skenix Infotech is a top Laravel Website Development Company with Expert Laravel Developers that provides robust Laravel Development Services at fair costs.
Looking to hire affordable yet experienced PHP developers? **[Hire Dedicated PHP Developer](https://hourlydeveloper.io/hire-dedicated-php-developer/ "Hire Dedicated PHP Developer")**, who can convert your idea to reality, within the stipulated...
Looking to develop a PHP based website from scratch or revamp your existing website? **[HourlyDeveloper.io](https://hourlydeveloper.io/ "HourlyDeveloper.io")** has always been an industry leader for companies and business owners looking to hire...