3

Looking for some Mac software that will enable me to auto-generate PHP classes from a UML class diagram.

Does anything like this exist?

Thanks

kaese
  • 10,249
  • 8
  • 29
  • 35

3 Answers3

2

Enterprise Architect by Sparx Systems provides something like this. It allows you to generate class definitions from UML diagrams.

I've never used it with PHP before, only with C#, and I've always been better off generating the code myself. It adds a lot of code that's not needed.

Devendra D. Chavan
  • 8,871
  • 4
  • 31
  • 35
Curt Walker
  • 128
  • 1
  • 5
0

My company BITPlan created UML2PHP in 2003 - the 2008 version is still available via: http://www.uml2php.com/com/bitplan/web/uml2php/index.php

Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186
0

Not exactly the corresponding PHP classes, but this UMLtoPHP online code-generation service will generate the doctrine YAML model corresponding to the UML class diagram. Of course, the benefit is that this definition is enough to automatically generate a full-fledged CRUD application when using a framework like symfony

Jordi Cabot
  • 8,058
  • 2
  • 33
  • 39
  • Btw, the services accepts as input UML models defined with a variety of UML tools including free ones like ArgoUML – Jordi Cabot Feb 16 '11 at 18:48