Reverse engineers a UML class diagram from PHP source code, taking inheritance and dependencies into account.
There are a couple supported UML graph output formats:
Build GraphML file from your existing PHP sources:
php uml_reverse.php -s /path/to/sources -o my_diagram.graphml
Open the generated my_digram.graphml file in yEd or any other graph editor that supports GraphML.
If have Graphviz installed and you'd like to quickly generate a PNG of your graph instead of using an editor, you can use the DOT formatter:
php uml_reverse.php -s /path/to/sources -f dot -o my_diagram.dot graphviz -Tpng my_diagram.dot -o my_diagram.png