phUML is fully automatic UML diagram generator. It takes arbitrary object oriented code written in php5 and creates fully blown class diagrams of it.
docker run dockette/phuml
You should see:
phUML Version 0.2 (Jakob Westhoff <jakob@php.net>)
Usage: phuml [-h|-l] [OPTIONS] <DIRECTORY> <PROCESSOR> [PROCESSOR OPTIONS] ... <OUTFILE>
Commands:
-h Display this help text
-l List all available processors
Options:
-r Scan given directorie recursively
Example:
phuml -r ./ -graphviz -createAssociations false -neato out.png
This example will scan the current directory recursively for php files.
Send them to the "dot" processor which will process them with the option
"createAssociations" set to false. After that it will be send to the neato
processor and saved to the file out.png