How to get current url in laravel?

Posted 1 month ago by raviawasti

I have dynamic url in laravel like this,

www.abcd.com/teacher-jobs-in-india

I want to get only teacher-jobs-in-india in my variable , how can i do that??

While doing this i get

www.abcd.com/teacher-jobs-in-india

but i want this only /teacher-jobs-in-india

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.