Slugify is a package that helps you to convert the string into a slug.
For example : Convert My name is Raggi To my-name-is-raggi.
Generate a slug from a string, there is 2 ways that helps you to generate the slug.
1// WAY 12use Pharaonic\Slugify\Slugify;3echo Slugify::get('Moamen Eltouny'); // moamen-eltouny4 5// WAY 26echo slug('Ramy Salama'); // ramy-salama
And you can add/edit a rule that helps in slug manipulation.
1use Pharaonic\Slugify\Slugify;2 3Slugify::rule('ü', 'ue'); 4echo Slugify::get('die Prüfung'); // die-pruefung