SyntaxFix
Write A Post
Hire A Developer
Questions
You can use this code to get current URL:
echo url()->current(); echo url()->full();
I get this from Laravel documents.