Contact Contact Show All Awards & Recognition
Contact
Show All Awards & Recognition
Pimcore Inspire 2024 - join our Alpine Expedition towards the mountain tops of Data & Experience Management Register Now

mike4git/umlgeneration-bundle

not-reviewed

No Category

No author set

Version

v1.1.3

Last updated

Compatible Pimcore Version

-

Contact

-

No  Reviewer

mike4git/umlgeneration-bundle

No Category

Project Summary

UML Generation Bundle


Readme

umlgeneration-bundle

generates UML class diagrams and more based upon your class definitions

Setup

  • copy env.dist and replace USER_ID with own ID (Retrieve: echo $(id -u) in a terminal)

Install

Before you can use the Bundle, you need to add the git repository to your composer.json

composer require "mike4git/umlgeneration-bundle"

and add it to your bundles.php:

<?php declare(strict_types=1);

return [
    // mostly dev environment is enough
    \UMLGenerationBundle\UMLGenerationBundle::class => ['dev' => true],
];

Additionally, you'll have to install GraphViz (dot executable). Users of Debian/Ubuntu-based distributions may simply invoke:

$ sudo apt-get install graphviz

Windows users have to download GraphViZ for Windows and remaining users should install from GraphViz homepage.

Use the following URL for the GraphViz usage: GraphViz

Usage

Generate dotfile:

$ php bin/console uml:generate -o myDotfileName

Note that this will generate a myDotfileName.dot file

Generate Graph:

$ dot -Tsvg myDotfileName.dot -o image.svg

After that you should see something like this:

Sample UML class diagram

Done.

Review status

not-reviewed

?>

No author set

Version

v1.1.3

Last updated

Compatible Pimcore Version

-

Contact

-

No  Reviewer