Converts a string to a slug for PHP


This library converts a string to a slug. It includes integrations for Symfony (2 and 3), Silex (1 and 2), Laravel, Twig (1 and 2), Zend Framework 2, Nette Framework, Latte and Plum.

 * Removes all special characters from a string.
 * Provides custom replacements for Arabic, Austrian, Azerbaijani,
   Brazilian Portuguese, Bulgarian, Burmese, Chinese, Croatian, Czech,
   Esperanto, Estonian, Finnish, French, Georgian, German, Greek,
   Hindi, Hungarian, Italian, Latvian, Lithuanian, Macedonian,
   Norwegian, Polish, Romanian, Russian, Serbian, Spanish, Swedish,
   Turkish, Ukrainian and Vietnamese special characters. Instead of
   removing these characters, Slugify approximates them (e.g., ae
   replaces ä).
 * No external dependencies.
 * PSR-4 compatible.
 * Compatible with PHP >= 5.5.9 and PHP 7.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install php-cocur-slugify