Skip to content

Instantly share code, notes, and snippets.

View Shine18's full-sized avatar
πŸ‘¨β€πŸ’»
I engineer revenue systems from $0 to $1Ms+ MRR

Aakash Ahmed Shine18

πŸ‘¨β€πŸ’»
I engineer revenue systems from $0 to $1Ms+ MRR
View GitHub Profile
@Shine18
Shine18 / url_slug.php
Last active August 29, 2015 14:14 — forked from sgmurphy/url_slug.php
<?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 <sean@iamseanmurphy.com>
* @copyright Copyright 2012 Sean Murphy. All rights reserved.