Hello
I was wondering if anyone know of a tool that knows how to take PHP code and generate UML class diagrams from it
regards
Jason
PHP -> UML tool
Moderator: General Moderators
Most ask for the opposite. That way you can describe it in UML and generate whatever language the application has implemented. Here is one that looks very promising. You describe your application in terms of XML and it generates the database and data access laters for you. I haven't used it before but looks damn good. I'm not currently using php, which is why I haven't tried it out yet.
http://propel.phpdb.org/
http://propel.phpdb.org/
Hi Jason,
If you want, you can take a look at my Java->PHP translator project, although you would essentially need to re-write your classes in Java. I don't think you can really bank on PHP getting the same volume of OOP tools as Java has.
Of course, if you use my project (and it's useful), there are many UML tools for Java.
If you want, you can take a look at my Java->PHP translator project, although you would essentially need to re-write your classes in Java. I don't think you can really bank on PHP getting the same volume of OOP tools as Java has.
Of course, if you use my project (and it's useful), there are many UML tools for Java.
Re: PHP -> UML tool
Allow me to answer this old thread by telling about my own tool.jasongr wrote:I was wondering if anyone know of a tool that knows how to take PHP code and generate UML class diagrams from it
I had the same problem, could not find any tools that did this in a good way, and was tired of waiting for it, so I made it myself.
Please take a look at http://www.gammelsaeter.com/php2xmi/
I would love to get comments and suggestions. I am planning to put in Umbrello support so that the classes automatically will be set up, so that the users do not have to drag every class into the diagram sheet.
I have tested the XMI output file with StarUML, agroUML and Umbrello, and it works perfectly.