Introduction
Since the 2.1 release, UML2PHP5 provides some tools located in
the TOOLS/ directory. There you will find somme classes
which are used by the tools and the tools themselve.
In order to use these tools you need PHP/CLI.
Minimum configuration:
- PHP5.0.3
- --with-dom
- --with-xsl
- --with-zlib
- --enable-soap
Linux Install
- Uncompress uml2php5-X.X.X.tar.gz archive
- #> cd TOOLS
- Move classes (xxx.class.php) in a directory defined
by include_path (in php.ini)
- Move tools in a directory declared by the env var PATH
(ie: /usr/local/bin and/or /usr/bin).
- NB: tools are self runnable, they contain the head line :
#!/usr/local/bin/php5. You can modify this line to match
your own configuration.
Windows Install
- Uncompress uml2php5-X.X.X.zip archive
- > cd TOOLS
- Move classes (xxx.class.php) in a directory defined
by include_path (in php.ini)
- Run tools like this:
c:/path/to/php/php -f tool parameters
- NB:Verify in php.ini that
all needed DLL are loaded: dom, xsl, zlib and soap