Is there any built-in method in Laravel to get the path of the previous URL?
I know about url()->previous();
but i only want to get previous path.
Also, I can extract previous path from the previous URL. But I would like to know if there is any built-in method in Laravel.