SyntaxFix
Write A Post
Hire A Developer
Questions
There are lots of ways to do that. You can type:
\Illuminate\Support\Facades\Request::route()->getName()
To get route name.