I’m new to PHP development, and I’m wondering if the community has any guidelines for inline documentation of code using comments. I’d love something like Python’s PEP 257, but I’d settle for a format used by a popular document extraction tool, or even the documentation standard of a popular product.
I’m new to PHP development, and I’m wondering if the community has any guidelines
Share
The most widely used form of API documentation for PHP is phpDocumentor a.k.a. phpdoc. Quite a lot of IDEs are also able to extract information to improve auto-completion hints using phpDocumentor style API docs.