Installatie PhpDocumentor :
pear install PhpDocumentor
PhpDocumentor documentatie van een Project genereren :
phpdoc -d /Applications/MAMP/htdocs/localhost/davidvandertuijn/application -t /Applications/MAMP/htdocs/localhost/phpdoc > /Users/davidvandertuijn/Desktop/phpdoc.log -i *.DS_Store,*.tpl,*.tpl.php -ti 'application davidvandertuijn.nl'
| Parameter | Omschrijving |
|---|---|
| -d --directory | name of a directory(s) to parse directory1,directory2 |
| -t --target | path where to save the generated files |
| -i --ignore | file(s) that will be ignored, multiple separated by ','. Wildcards * and ? are ok |
| -ti --title | title of generated documentation, default is 'Generated Documentation' |
Voor een overzicht van alle phpdoc parameters :
phpdoc -h
Resultaat
Meer informatie : phpDocumentor: The complete documentation solution for PHP
Zie ook : phpDocumentor - timezone settings
Categorieën
PHP