cocur/slugify — pull request #5 by Seldaek (2013-04-17 10:38:11+00:00)
Title: A few changes:

- Allow passing an alternative default value if the slugified version is empty
- Check if the slugified version is really empty and not "0"
- Check for iconv existence only once in constructor, simplify code