dreammo/plantuml

Convert php source project to plantuml language format

v1.1.2 2019-10-13 05:59 UTC

This package is auto-updated.

Last update: 2024-04-04 17:42:15 UTC


README

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