Sign inSign up

mkenney/phpdoc

By mkenney

•Updated over 8 years ago

phpDocumentor script runner

Image
2

3.1K

mkenney/phpdoc repository overview

MIT License Docker pulls Docker stars Github issues

PHP v7 phpDocumentor v2

⁠Portable phpDocumentor script

The source repo⁠ contains a phpdoc script that wraps executing a docker container to execute phpdoc⁠. The current directory is mounted into /src in the container and a wrapper script executes composer as a user who's uid and gid matches those properties on that directory. This way the documentation is written as the directory owner/group instead of root or a random user.

Because this runs out of a Docker container, all source code input and the output location must be available within the current directory. Specifying files or directories from other locations on the system will not work. For example, -f /some/file.php would attempt to find the file inside the container instead of on the host.

⁠Source repository

⁠Docker image

Based on mkenney/php-base⁠ (debian:jessie) which is simply a php CLI binary built with various tools, most notably Oracle OCI libraries, because they're a pain to install.

⁠Tagged Dockerfiles

Tag summary

Content type

Image

Digest

Size

363.8 MB

Last updated

over 8 years ago

docker pull mkenney/phpdoc