-1

I want to generate user's profile URL like a blog post (www.abc.com/profile/tom-cruise-brad-pit). Each user's profile has a unique ID in the database, and I don't want to show the user's profile ID in the URL.

karel
  • 5,489
  • 46
  • 45
  • 50
kapildevsharma
  • 199
  • 1
  • 4
  • 17
  • It will help you with that [https://stackoverflow.com/questions/39951509/laravel-how-to-hide-url-parameter] – Muhammad Shareyar Mar 09 '19 at 13:28
  • Possible duplicate of [Laravel Resource Controller Slug](https://stackoverflow.com/questions/23080420/laravel-resource-controller-slug) – Arikael Mar 09 '19 at 14:17
  • @MuhammadShareyar yes it is near to my question but in my question, there are two variable one is profile ID that i want to hide and second is profile name that i want to show. – kapildevsharma Mar 09 '19 at 14:34
  • @Arikael in this is its possible of duplicacy of slug, two person can use same slug. – kapildevsharma Mar 09 '19 at 14:37

1 Answers1

0

The link provided below will be helpful eloquent-sluggable