Using JSDoc for PHP documentation
It seems that JSDoc is easier to use than PhpDocumentor or Doxygen, especially when using custom tags. I just came up with the stellar idea of using JSDoc to generate PHP documentation. PHP’s reflection API includes a way to read the JavaDoc-style comments on each function. What I will do is take these JavaDoc-style comments and make fake JavaScript functions to go with them, and then parse the new ‘JavaScript’ file in JSDoc.
I’ll provide details and tell you how it works in a later post.