Thanks, i did what u said, but it didnt work nothing happen. Maybe its my path, i did this /usr/local/apache/bin/php and then php2xmi --path, but i am so confused, whats the difference /usr/....and /home/.... i got lost in these i guess.
| SitePoint Sponsor |
Thanks, i did what u said, but it didnt work nothing happen. Maybe its my path, i did this /usr/local/apache/bin/php and then php2xmi --path, but i am so confused, whats the difference /usr/....and /home/.... i got lost in these i guess.
That's a filesystem path. Different OS has the php binary in different places. You may already have php in the PATH system-variable, in which case, you don't need to specify the full path to php.
The example I gave above obviously needs a file foo.php with one or more classes inside it in order to do anything. This file must be in the working directory or in the PATH.
Could I also post my PHP2XMI tool to this thread? The net is almost empty for PHP2UML tools, and this thread seems to be the best place informing people about it.
I use UML class diagrams as documentation, and needed a tool to easily make XMI files of my classes and interfaces. I hope you like it:
http://www.gammelsaeter.com/php2xmi/
Please feel free to send me comments, bug reports or suggestions for it.
- Paul
Me too... but this post is old. No chance lol.![]()
great job done and it is nice one. Thanks
Bookmarks