PHPUML 生成UML
Selecting the UML/XMI version To select which version of the UML/XMI standards you want your XMI to be written in, use the option -x: $ phpuml /var/www/foo -x 1 -o /var/tmp/ Note that Argouml accepts XMI code only in version 1, while the Eclipse plugins (Ecore standard) only in version 2.
点击打开链接http://pear.php.net/manual/zh/package.php.php-uml.command-line.php