Home > Backend Development > PHP Tutorial > PHP function Chinese help document generation tool

PHP function Chinese help document generation tool

不言
Release: 2023-03-22 20:02:01
Original
2315 people have browsed it

There are thousands of functions in PHP, which are not easy to remember, so you may need to use the vim plug-in PIV, but the documents in PIV are all in English, which is inconvenient to read, so this article is I have shared with you about the Chinese help document generation tool for PHP functions. If necessary, you can take a look.

I have recently started to learn PHP.

As the saying goes, 'If you want to do your job well, you must first sharpen your tools.' I have been using vim for development recently, so I have to go through a lot of trouble to make vim into a PHP IDE.

In the process of playing with PHP, the most troublesome thing is PHP functions. My small-capacity mind couldn't remember the thousands of functions in php, so I found the vim plug-in PIV.

Although PIV solves the problem of function help documentation, it also brings another problem. TM's all-English documentation is a headache to read. Finally, I decided to make a tool myself to generate Chinese documents for my own convenience. It would be the best if it can also be convenient for others.

The idea of ​​writing this tool is to traverse all functions of PHP, grab the corresponding function descriptions from the PHP Chinese manual and generate help documents. The functions of capturing data and generating documents are completed by node.js. The specific code is placed on github.

Finally, the rendering:

PHP function Chinese help document generation tool

ps: Also attach my vim configuration.

Related recommendations:

About PHP document generation tool

##About PHP document generation tool

(Transfer)Doxygen document generation tool


The above is the detailed content of PHP function Chinese help document generation tool. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template