phpDoc, Yii 1.x and generating packages

251 Views Asked by At

I have a problem dealing with phpdoc I need to generate phpdoc for big project based on Yii 1.x, the problem is it's not go with namespaces. Generating phpdoc gives me whole project located on "/" level I need to save project's folder structure.

@package doesn't work here. Is there any option to force phpdoc in a such way?

1

There are 1 best solutions below

3
On

If your code uses namespaces, you need phpDocumentor 2.x (www.phpdoc.org). The old 1.x version at PEAR (pear.php.net) does not recognize namespacing.