DEV Community

Samson Ojugo
Samson Ojugo

Posted on

Code Documentation

A DocBlock explains the purpose of a specific class, method, or other structural component. DocComments are a specific form of comment that always enclose DocBlocks. A DocComment is denoted by the characters /** (opener) and */ (closer).
There should be an asterisk (*) at the beginning of every line between the DocComment opener and its closer.

The phpdoc command can be used with phpDocumentor to provide comprehensive documentation for your Laravel project.

How effectively is your source code documented?

Image description

Top comments (0)