Creating Unique Title Slugs with Laravel
Eric L. Barnes
496

Nice function, but I like to simply get error in face if smth of this happen and then go back.

Btw, I think you need to extend this, so you can reuse for different entities.

I’ve commented your gist with a bit modification
https://gist.github.com/ericbarnes/3b5d3c49482f2a190619699de660ee9f#gistcomment-1799556

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.