jbroadway / urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to reverse url slug

Ijazweb opened this issue · comments

echo URLify::slug('中文简体');
result zhong-wen-jian-ti
how to get back slug in chines
i means how can reverse slug translate

There is no reverse option and it would be hard to make an accurate one since many characters map to multiple ascii characters and some overlap with each other as well.