Lea Hayes
Lea Hayes

Reputation: 64236

Command to `phpdoc` an entire directory?

What would the command line be to generate phpdoc for an entire project?

Directory Structure

/Users/macuser/Sites/my-project/
    index.php
    config.php
    includes/
        class/
            test.class.php
        include-a.php
    docs-go-in-here/

I have installed PEAR phpdoc and am able to create documentation for a single php file, I cannot find out how to do an entire directory.

Upvotes: 1

Views: 983

Answers (2)

Jan Molak
Jan Molak

Reputation: 4536

I'd suggest considering using doxygen instead of phpdoc, which is a dead project. Check this out - http://www.doxygen.nl/

Upvotes: 0

wonk0
wonk0

Reputation: 13982

phpdoc -h is your friend:

  -d    --directory               name of a directory(s) to parse
                                  directory1,directory2

Upvotes: 5

Related Questions