Reverses a UML class diagram from PHP source code
Switch branches/tags
Nothing to show
Clone or download
Latest commit 7661b60 Feb 20, 2016
Permalink
Failed to load latest commit information.
docs added pretty image Dec 5, 2015
examples dot generation Dec 4, 2015
.gitignore initial commit Dec 3, 2015
LICENSE dot generation Dec 4, 2015
README.md Update README.md Dec 5, 2015
composer.json initial commit Dec 3, 2015
composer.lock initial commit Dec 3, 2015
uml_reverse.php Update uml_reverse.php Feb 20, 2016

README.md

UMLReverse

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:

Example graph

Dependencies

Getting Started

Install dependencies:

composer install

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