kaese
kaese

Reputation: 10599

Software to generate PHP classes from UML Class Diagram

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

Upvotes: 3

Views: 1874

Answers (3)

Wolfgang Fahl
Wolfgang Fahl

Reputation: 15769

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

Upvotes: 0

Jordi Cabot
Jordi Cabot

Reputation: 8228

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

Upvotes: 0

Curt Walker
Curt Walker

Reputation: 128

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.

Upvotes: 2

Related Questions