CODE2XMI -------- Script that parse a php file and creates from it the classes (with its attributes and functions) that are in the file. This file will receive a directory or a list of archives as argument. The directory search is not recursive so if you want to parse it recursively you may use the find command to solve this. Example: ./code2xmi HTMl/ Example: ./code2xmi Table.php Form.php etc Example: ./code2xmi `find HTML/ -name '*.php'` The output will be a single file named umlOut.xmi and it will be generated in the same path were the script was run. This script generates a light xmi file (Class only no diagrams will be generated). This xmi file will include all the classes, the functions and the attributes that are content in the php file. All the documentation that belongs to a class or a function or an attribute is attached to it in the corresponding xmi line, so when you open the xmi file you will have your object with all the information that matters. This script works with php pear coding standars (http://pear.php.net/manual/en/standards.php), this is an important aspect. This script will get from the documentation all the information have fulfilled those standars. All the remaining documentation will be put in the main (class, function or attribute) documentation. Example: @return array() List of names --> In this case 'List of names' will be put in the main documentation as Returns: List of names Example: @author Martin Marrese --> will be put in the main documentations without any change. This is a very simple script that have certain limitatios, for example a function line must be in ONE line, if not, the information of it will be wrong. Spaces between parameters are contemplated. Example of a wrong line: function parseParenthesis( param1, param2=null) This line must be written this way: function parseParenthesis(param1, param2=null) For a complete example you may check the Tabla.php archive.