We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Zephir : generate docs

Hi,

how can you generate documentation based on your zephir files?

Tools like phpdocumentor use ReflectionClass to generate docs, which cannot be used with zephir files. I tried creating stubs, but the docblocks are not copied over. I think it might already be a solution to copy over the docblocks from zephir files to stubs, then you can run phpdocumentor or other tools on the stub files.

thanks, but I'm writing my own module with Zephir and would like to generate documentation based on the doc blocks in my zep files.