PEAR PhpDocumentor

From Triangle Wiki

Jump to: navigation, search

Introduction

Windows CLI

You need the cli version of PHP (php-cli.exe or cli/php.exe in 4.3.0+). Either run phpDocumentor from the directory that PHP resides in, or put php.exe in your DOS PATH enviroment variable. The simplest usage of phpDocumentor is:

C:\>php.exe "C:\Path\To\phpdoc" -t targetdir -o HTML:default:default -d parsedir

where targetdir is the directory you wish phpDocumentor to create output, and parsedir is the directory you wish to parse.

Web interface installation and usage instructions

To use phpDocumentor as a web interface, you need to install a Web server and configure it, as well as install PHP version 4.1.0 or greater. Consult the documentation of your webserver and of PHP for installation support.

open a web browser and browse to phpdoc.php at the location that you set up. Instructions are in the web interface.

Personal tools