Skip to content

Instantly share code, notes, and snippets.

@rordi
Last active March 10, 2023 15:22
Show Gist options
  • Save rordi/0246125a4a28ad334e6c99d677f5286c to your computer and use it in GitHub Desktop.
Save rordi/0246125a4a28ad334e6c99d677f5286c to your computer and use it in GitHub Desktop.
Generate PhpDoc Documentation with Docker

Easily create a PhpDoc documentation with this Docker container

Use following command from withint the root directory of your PHP project to create the PhpDocs in the ./docs subfolder of the project root. You may want to include only a ./src (Symfony) or ./app (Silex) subfolders in the analysis (do not run the documentator on the ./vendors folder):

docker run --rm -v $(pwd):/app instrumentisto/phpdoc -d /app -t ./docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment