PHP Dev Tools (for CodinGame or elsewhere)

Previous: Unit testing (PHPUnit, PEST)

Generating documentation (phpDocumentor)

Note: As your CG puzzle solutions are meant for your own eyes only, this chapter is irrelevent in the context of CodinGame. Therefore, only links are provided.

phpDocumentor logo


If you make an application or library, that you want to share with the world, it is very important to also provide detailed documentation, otherwise no-one will want to use what you created. Writing documentation is not what many coders dream about, but there are some nice tools that can lessen the burden.

The concept is not to have a 'documentation project' completely separate from your coding project, but to keep the technical documentation near your code. With the right tool, you can generate the interface documentation automatically from your code, using some DocBlocks and the code itself as the single source of truth.

Useful links


Thank you for your time! I hope you liked this playground. All feedback welcome!

Check out my other playgrounds:

Create your playground on
This playground was created on, our hands-on, knowledge-sharing platform for developers.
Go to