How to get current url in laravel?

Posted 3 months 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.