命令行将为整个项目生成phpdoc是什么?
/Users/macuser/Sites/my-project/
index.php
config.php
includes/
class/
test.class.php
include-a.php
docs-go-in-here/
我已经安装了PEAR phpdoc并且能够为单个php文件创建文档,我无法找到如何执行整个目录。
phpdoc -h是你的朋友:
-d --directory name of a directory(s) to parse
directory1,directory2
我建议考虑使用doxygen而不是phpdoc,这是一个死的项目。看看这个 - http://www.doxygen.nl/