theseer / phpdox

Documentation generator for PHP Code using standard technology (SRC, DOCBLOCK, XML and XSLT)
http://phpdox.de
Other
599 stars 121 forks source link

Is it possible to add suport for @package #272

Open maykelsb opened 8 years ago

maykelsb commented 8 years ago

It'd allow us to use phpdox with pre 5.3 code.

theseer commented 8 years ago

Technically phpDox will parse any OOP based PHP code just fine, regardless of namespaces or package annotations. If it fails some where, open a bug.

With regards to supporting @package as an (alternative?) to namespaces, I'd have to look into that. It's a completely different parsing approach since the namespace information is taken from the token stream (usually via the phpparser backend) whereas @package would require to use the annotation of the class.

Technically that sounds doable, but unfortunately i'm currently very busy and thus have not much time to work on phpDox so it might take some time to land.