In this article, I will teach you, how to get a full URL in laravel with query string.
// Get the current URL without the query string...
echo url()->current();
// Get the current URL including the query string...
echo url()->full();
// Get the full URL for the previous request...
echo url()->previous();
Tags :
laravel
Subscribe For Newsletter
0+ People Subscribe today.