phpDocumentor is a tool to generate documentation directly from your ´php´ files. This short post will tell you how to set it up on your Windows machine using XAMPP and pear.
Step one is to install XAMPP. Fire it up, and hit the button “Shell” in the GUI.
In the shell window, type the following commands
pear install –nocompress phpdoc/phpDocumentor-2.8.1
You are ready to go! Open up a CMD Window and verify that phpdoc command works.
To use, simply type: