Skip to content

generates UML class diagrams and more based upon your class definitions

License

Notifications You must be signed in to change notification settings

51imyyy/umlgeneration-bundle

 
 

Repository files navigation

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.json
{
  "require": {
    "mike4git/umlgeneration-bundle": "dev-main"
  },
  ...
  "autoload": {
    "psr-4": {
      ...
      "Neusta\\Pimcore\\UMLGenerationBundle\\": "bundles/Neusta/Pimcore/UMLGenerationBundle/src"
    }
  ...
  "repositories": {
    "uml-generation-bundle": {
      "type": "git",
      "url": "https://github.com/mike4git/umlgeneration-bundle.git"
    }
  },
}

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

About

generates UML class diagrams and more based upon your class definitions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 98.6%
  • Other 1.4%