ERD Modelling tool with Doctrine Support

2019-06-11 22:24发布

I'm looking for a free or paid software application that I can use for ER modelling.

Since I mostly develop applications using Symfony2/Doctrine, does anyone know about software that has Doctrine support?

3条回答
淡お忘
2楼-- · 2019-06-11 22:56

This may not interest you directly, and is probably not really fitting your current development cycle either, but I think it's a good approach to avoid code generation wherever possible.

I'm currently developing the modules integration of Doctrine ORM with ZF2, and we got to build a tool that creates on-the-fly graphs of your entities relations:

UML Diagram generated from Doctrine 2 Entity metadata

(please don't take the graph as a good example)

With this approach, you write entities first, then mappings (annotations/xml/yaml/php) and there you got your schema (displayed by your application). I'm considering pushing this to doctrine/common directly, so it may be available in the DoctrineBundle soon.

查看更多
来,给爷笑一个
3楼-- · 2019-06-11 23:08

I think the following comparison is what you're searching: http://www.orm-designer.com/article/orm-designer-and-mysql-workbench-comparison

Conclusion: both ORM Designer and MySQL workbench are able to work with Doctrine.

Since MySQL workbench is free and under the wings of MySQL itself this should be favorable to me.

查看更多
狗以群分
4楼-- · 2019-06-11 23:08

Take a look at ORM Designer.

I always use MySQL Workbench and then import my database schema into doctrine entities. This let me fine-tune my indices better that way.

查看更多
登录 后发表回答