We distribute a PHP Archive (PHAR) that contains all required dependencies of UmlWriter bundled in a single file.
Make it executable, and put it into your $PATH
.
$ chmod +x umlwriter-1.0.1.phar $ mv umlwriter-1.0.1.phar /usr/local/bin/umlwriter $ umlwriter --version
You can also immediately use the PHAR after you have downloaded it.
$ wget http://bartlett.laurent-laville.org/get/umlwriter-1.0.1.phar $ php umlwriter-1.0.1.phar --version
With both methods then you have this output :
umlWriter version 1.0.1