nahakiole / staruml-php

PHP extension for StarUML
https://staruml.io/extensions
MIT License
17 stars 8 forks source link
code-generator extension php staruml uml uml-diagram

PHP Extension for StarUML

This extension for StarUML(http://staruml.io) support to generate PHP code from UML model. Install this extension from Extension Manager of StarUML.

Based on https://github.com/staruml/staruml-java

PHP Code Generation

  1. Click the menu (Tools > PHP > Generate Code...)
  2. Select a base model (or package) that will be generated to PHP.
  3. Select a folder where generated PHP source files will be placed.

Belows are the rules to convert from UML model elements to PHP source codes.

UMLPackage

UMLClass

UMLAttribute

UMLOperation

UMLInterface

UMLEnumeration

UMLAssociationEnd

UMLGeneralization

UMLInterfaceRealization


Licensed under the MIT license (see LICENSE file).