PHP has thousands of functions, it is not easy to remember, it may be necessary to take advantage of PIV this vim plug-in, but the documents in the PIV are all in English, look inconvenient, so this article to share about the PHP function of the Chinese Help document generation tool, if necessary, you can see
has recently started to masturbate PHP.
As the saying goes ' 工欲善其事, its prerequisite ', has been in the recent time with vim to do development, so inevitably toss a turn, the vim of the IDE to make PHP.
And in the process of the PHP, the more headache is the PHP function. My small-capacity mind couldn't remember the thousands of functions in PHP, so I found the vim plugin for PIV.
Although PIV solves the problem of function help documentation, it brings another problem, TM full English documentation, to see the headache. Finally decided to make a tool, to generate Chinese documents, convenient for themselves, can be convenient for others that is the best.
The idea of writing this tool is to iterate through all of PHP's functions, grab the corresponding function description from the PHP Chinese manual and generate the Help document, and the ability to crawl data and generate documents is done by node. js. The specific code is placed on GitHub.
Finally, on:
PS: Also attached to my vim configuration.