PHP source project to planuml language
Get composer and learn to use it.
Library is on packagist.
composer require dreammo/plantuml
This project can easily convert the PHP source project to the plantuml language. Afterwards, the development can be converted to the class diagram png format or svg format using, for example, the IDE phpstorm installation plugin plantuml.
planuml document: plantuml
online plantuml editor website: liveuml
./vendor/bin/puml ./demo/test diagram.puml
you can use like IDE phpstorm and install plugin "plantuml", and you can Preview class diagram. You can try directly by using demo/test do demo test
Annotation and class diagram relationship description
For details, please refer to demo/test/classes.php
@var dataType @param dataType @return dataType @Agg // Aggregation @Comp // Composition @Assoc // Normal Association