A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.
|PHP UML Generator||#1|
How do I generate UML diagram based on existing classes in PHP?
posted date: 2008-12-26 00:00:00
|Re: PHP UML Generator||#3|
Have you tried Autodia yet? Last time I tried it it wasn't perfect, but it was good enough.
posted date: 2008-12-26 00:46:00
|Re: PHP UML Generator||#4|
i tried autodia but somehow i cant generate accurate class diagram (php5)
posted date: 2008-12-26 02:09:00
|Re: PHP UML Generator||#5|
There's also php2xmi. You have to do a bit of manual work, but it generates all the classes, so all you have to do is to drag them into a classdiagram in Umbrello.Otherwise, generating a diagram with the use of reflection and graphviz, is fairly simple. I have a snippet over here, that you can use as a starting point.
posted date: 2008-12-27 08:46:00
|Re: PHP UML Generator||#6|
There's also the PHP UML tool available from pear.PHP_UML:Can generate UML/XMI files in version 1.4, or in version 2.1 (logical, component, and deployment views)Can generate an API documentation in HTML formatCan generate PHP code (code skeleton) from a given XMI fileCan convert UML/XMI content from version 1.4 to version 2.1Install it on the command line via:
$ pear install pear/php_uml
(This used to be
$ pear install pear/php_uml-alpha
but the package has since gone stable.)Generate your xmi:
$ phpuml -o project.xmi
posted date: 2009-02-26 09:24:00
|Re: PHP UML Generator||#7|
the best (Windows) software i have found to do PHP and UML is Sparx SystemsEnterprise Architect. besides a pletora of features, it supports the following for PHP:Reverse engineer object oriented PHP into UML class diagramsGenerate PHP class definitions from UML class diagramsSynchronize changes made in a UML class into the corresponding PHP class definitionSynchronize changes made in a PHP class definition into the corresponding UML classCreate UML sequence diagrams to show what PHP classes use and how they are usedProduce detailed documentation of your PHP code in standard RTF and HTML formatPerform code engineering on models to generate base PHP pages.not free ($199), but definitely worth the money.
posted date: 2009-04-15 02:27:00
|Re: PHP UML Generator||#8|
I strongly recommend BOUML. It's a NOT free UML modelling application, which:is extremely fast (fastest UML tool ever created, check out benchmarks),has rock solid PHP import and export support (also supports C++, Java, Python)is multiplatform (Linux, Windows, other OSes),is full featured, impressively intensively developed (look at development history, it's hard to believe that such fast progress is possible).supports plugins, has modular architecture (this allows user contributions, looks like BOUML community is forming up)
posted date: 2009-05-19 12:24:00
Stephen J. Fuhry
|Re: PHP UML Generator||#9|
for some reason, pear.com doesn't like that link without a trailing slash: pear.php.net/package/PHP_UML
posted date: 2010-01-08 08:13:00
|Re: PHP UML Generator||#10|
@Stephen, yeah I noticed that too! If you click the link, it gives you a 404, but if you select the address bar and press enter, it works.
posted date: 2010-01-16 06:01:00
|Re: PHP UML Generator||#11|
The benchmarks look really impressive. I love enterprise architect but it doesn't have PHP support. I will pass this tool on, thanks.
posted date: 2010-08-16 07:40:00
|Re: PHP UML Generator||#12|
You can use Visual Paradigm for UML. This might not be the best paid (it's US$699) product, just as an option if anyone would like to try. It can create class diagram from PHP and vice versa, and not only PHP, there's a bunch of language you can choose such as C#, C++, Ruby, Java, VB.NET, Python, Objective C, Perl, etc. There's also a trial you can check on.
posted date: 2011-02-07 00:11:00
|select page: « 1 2...»|