How to create unique Slug in Laravel?

Posted 3 days ago by darrenchan

Hello

I am trying to make a unique slug in Laravel based on post's title. There is a probability that, two posts can have same title.

Any suggestion or tutorial on that?

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

Reply to

Use Markdown with GitHub-flavored code blocks.