6

With reference to this question here - there is a Class Diagram generator for Visual Studio. I've used it and its very useful indeed!

But what I wannna ask - Is there anything like this for PHP and/or Java?

Community
  • 1
  • 1
maxxon15
  • 1,559
  • 4
  • 22
  • 35

5 Answers5

4

GenMyModel matches, it's an UML online tool that generates Java from class diagrams. HTH

Georges
  • 424
  • 4
  • 8
  • Great tool. The Java generator works fine and it's very easy to use (online). – Kevin Fegan Sep 09 '13 at 20:17
  • You can now write your own UML to Php generator following this tutorial: http://blog.genmymodel.com/build-your-own-php-generator-from-uml-using-acceleo-part-1.html – Xaelis Mar 27 '15 at 17:15
3

ArgoUML is nice. You should also check out UMLet. UMLet is a a stand-alone UML tool, good for quick class/sequence diagrams.

John
  • 196
  • 2
  • 7
  • From the UMLet site: "UML 2.3 Design Tool .NET, Java, C++, XSD, DDL, PHP, CORBA, Python & more." – John Feb 20 '12 at 15:11
2

This one knows Java and also PHP: http://www.visual-paradigm.com/ And I have got quite good experience with that one. :)

VisualParadigm can help you to generate class diagrams and if you wish, generate also ORM diagrams and make mapping (e.g. in hibernate) between domain classes and database. But you should rather see the official tutorials here: http://www.visual-paradigm.com/product/vpuml/tutorials/

Ondrej Kvasnovsky
  • 4,592
  • 3
  • 30
  • 40
  • Is it as easy as the Visual Studio Class Diagram generator? btw, what's a ORM diagram? – maxxon15 Feb 13 '12 at 13:31
  • 1
    Yes, it is pretty easy. It is just enought to watch that tutorials I have sent you. ORM is Object Relationship Model - it is step between your domain model and database mapping files. It actually displays domain class diagram as persistent domain classes. I think you could benefit from this page: http://oldresources.visual-paradigm.com/object_relational_mapping/visual_modeling/using_orm_diagram.html – Ondrej Kvasnovsky Feb 14 '12 at 06:52
  • Wow! That's pretty Kewl! ^_^ Thanks a lot! I'm downloading the software now... I'll run them in VMWare so "Trial Versions" will never be a problem :D – maxxon15 Feb 14 '12 at 11:49
1

Visual Paradigm is quite nice, but a bit expensive I think.

A free alternative is ArgoUml. It can generate class diagrams from Java source code (I do not think for php, but I am not sure). It is not quite as good as vp, but it does work and is easy to use.

Netbeans had UML generation integrated up to version 5 or 6, but it was discontinued, so using an older version might work as well. Eclipse has a plugin called papyrus which also does code to uml.

For the same functionality for PHP, see this question and see here for a general overview over UML diagrams.

Community
  • 1
  • 1
tim
  • 1,999
  • 17
  • 32
0

Enterprise Architect and JetBrains phpStorm seem to support UML and PHP.

Fuhrmanator
  • 11,459
  • 6
  • 62
  • 111