phpDocumentor - Unable to find the dot command of the GraphViz package phpDocumentor - Unable to find the dot command of the GraphViz package symfony symfony

phpDocumentor - Unable to find the dot command of the GraphViz package


Graphviz is a nice software that creates graphs, but PHP software can only provide wrappers that create Graphviz source files that then get parsed and morphed into pictures.

Phpdocumentor comes with it's own wrapper, but you still have to install the Graphviz software package.


On Ubuntu just run

sudo apt-get install graphviz

rerun phpdoc, at the end you will see the line

Execute transformation using writer "Graph"

that's all!


The error says that : GraphViz tool (needed for making charts and graphs in the documentation) is not installed, in that scenario you will have to download the suitable version and configure it ! And if you are sure that it is installed on your system, then you should check whether the command dot is available or not. On windows path environment variable needs to be set which makes the dot command execution to be available from any path. Fixing this may get your things working !