命令`phpdoc`整个目录?

Lea*_*yes 1 php phpdoc

命令行将为整个项目生成phpdoc是什么?

目录结构

/Users/macuser/Sites/my-project/
    index.php
    config.php
    includes/
        class/
            test.class.php
        include-a.php
    docs-go-in-here/
Run Code Online (Sandbox Code Playgroud)

我已经安装了PEAR phpdoc并且能够为单个php文件创建文档,我无法找到如何执行整个目录.

won*_*nk0 5

phpdoc -h是你的朋友:

  -d    --directory               name of a directory(s) to parse
                                  directory1,directory2
Run Code Online (Sandbox Code Playgroud)