Skip to content

dream-mo/plantuml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP source project to planuml language

Installation

Get composer and learn to use it.

Library is on packagist.

  composer require dreammo/plantuml

Introduction

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

Quick Start

./vendor/bin/puml ./demo/test  diagram.puml

then

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