开发者

generating class diagrams for php projects ( codeigniter framework)

开发者 https://www.devze.com 2023-01-11 11:20 出处:网络
I\'m developing a system using Codeigniter, and it\'s nearly completion, i didn\'t went for class diagrams first because it was hard to decide, so i straight away did coding and now i want to draw cla

I'm developing a system using Codeigniter, and it's nearly completion, i didn't went for class diagrams first because it was hard to decide, so i straight away did coding and now i want to draw cla开发者_如何学Pythonss diagrams for my project. do you guys know about a tool that i can use for generating class diagrams for my project?


If you want to draw them manually (ie. don't want reverse engineering to generate uml from your PHP source), then StarUML might be useful (if you're using Windows that is, but since you don't mention it I assume you do).

BTW The following question might be helpful too : PHP UML Generator


phUML is the best tool I have encountered and only worked for me. You can easily generate a class diagram from your existing code.

Navigate to the folder and try the below command to generate the class diagram on linux

./phuml -r /var/www/my_project -graphviz -createAssociations false -neato out.png

phUML is fully automatic UML class diagramm generator written PHP. It is capable of parsing any PHP5 object oriented source code and create an appropriate image representation of the oo structure based on the UML specification.

More info

./phuml --help
0

精彩评论

暂无评论...
验证码 换一张
取 消