Skip to content

Instantly share code, notes, and snippets.



  • România
View GitHub Profile
carcabot / url_slug.php
Created Oct 19, 2015 — forked from sgmurphy/url_slug.php
URL Slugs in PHP (with UTF-8 and Transliteration Support)
View url_slug.php
* Create a web friendly URL slug from a string.
* Although supported, transliteration is discouraged because
* 1) most web browsers support UTF-8 characters in URLs
* 2) transliteration causes a loss of information
* @author Sean Murphy <>
* @copyright Copyright 2012 Sean Murphy. All rights reserved.
You can’t perform that action at this time.