Generating class diagrams for php projects (frameworkignign framework)

I am developing a system using Codeigniter and it is almost complete. At first I didn’t go to class diagrams because it was difficult to solve, so I immediately did the coding, and now I want to draw class diagrams for my project. Do you guys know about a tool that I can use to create class diagrams for my project?

+3
source share
2 answers

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

BTW The following question may be useful: PHP UML Generator

+1
source

phUML is the best tool that I came across and worked only for me. You can easily create a class diagram from your existing code.

Go to the folder and try the following command to create class diagram in linux

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

phUML - UML, PHP. PHP5-- UML.

./phuml --help
0

Source: https://habr.com/ru/post/1758895/


All Articles