Skip to content
Convert php source code to uml diagram
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
demo
src
.gitignore
README.md
composer.json
composer.lock

README.md

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

You can’t perform that action at this time.