SyntaxFix
Write A Post
Hire A Developer
Questions
If you need url, not route name, you do not need to use/require any other classes:
url()->current();