Slugify is a PHP library which helps to convert a string into a slug.
- Removes all special characters from a string. Provides custom replacements for German, French, Spanish, Russian, Ukrainian, Polish, Czech, Latvian, Greek, Esperanto¹, Arabian, Vietnamese and Burmese special characters.
- Instead of removing these characters, Slugify approximates them (e.g., ae replaces ä).
- No external dependencies.
- PSR-4 compatible.
- Compatible with PHP >= 5.3.3 and HHVM.
- Integrations for Symfony2, Silex, Laravel, Twig, Zend Framework 2, Nette Framework and Latte.