UML modelling tool for php

2019-06-02 22:50发布

My question is what do you use when you create large scale php applications. I havent found so far a decent UML modelling tools which would have these features:

  • nice GUI
  • adding attributes and methods by click (no like big edit with raw text and new lines)
  • generate php classes
  • drag and drop classes

for modelling databases I use MySQL workbench and it is really god for what I need to do.

thanks.

2条回答
等我变得足够好
2楼-- · 2019-06-02 22:57

GenMyModel Matches perfectly your description and you can now customize your own PHP generator following this tutorial.

查看更多
太酷不给撩
3楼-- · 2019-06-02 23:17

You could give UML Lab (http://uml-lab.com) a try (Note: I'm biased as I'm working for Yatta Solutions ;) ). The tool supports Java and PHP, and has built-in support for round-trip-engineering. It also brings support for PHP code using a MySQL database.

There are several tutorials available; you could for example start with http://www.uml-lab.com/en/uml-lab/tutorials/modellierung-und-codegenerierung/. The tool is also capable of importing existing PHP source code (reverse engineering).

UML Lab is integrated in Eclipse, so you could for example install the Eclipse PDT to have syntax highlighting and code completion for the generated PHP source files.

It's a commercial tool, but there is a 30 days trial and a free academic edition. If you have any questions don't hesitate asking them in the forum, bug tracker or by mail.

查看更多
登录 后发表回答