Create unique slugs in Laravel by appending numbers for duplicates Guide on how to generate unique slugs in Laravel using a Trait, with the option to append numbers to the duplicated slugs. February 15, 2023 by George-Paul Crețu