Php does long tail word search.

for example, the user fills in Hello World in the from form, but the search url needs to be changed into search/nihaoshijie, but the search value is still searched according to the string of Hello World passed by the user. Since the searched url is to be changed into Pinyin, how can the code flow be realized

?

the url parameter of the https://github.com/overtrue/p.
search is Chinese characters, and the program processes it into pinyin for retrieval. If the value required to be passed is pinyin, it should be done at the front end.

Menu