build various UML Diagrams from your Source-Code in No-Time
$ php yuml-php.phar classes src/
you get an Image Url to the Rendered Diagram (or PDF or an Editable Link)
#1 Clone the Github Repository
$ git clone git://github.com/digitalkaoz/yuml-php.git
$ cd yuml-php
#2 Install Dependencies with Composer
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install
#3 Use it
$ bin/yuml-php
Available Options
Usage:
classes [--console] [--debug] [--properties] [--methods] [--filter] folder
Arguments:
folder the folder to scan for classes
Options:
--console log to console
--debug debug
--properties build with properties
--methods build with methods
--filter to include/exclude folder/files
Examples
$ php yuml-php.phar classes src/
$ php yuml-php.phar classes --methods src/
$ php yuml-php.phar classes --properties src/
$ php yuml-php.phar classes --debug src/
$ php yuml-php.phar classes --filter=\!/Test --filter=/Include src/
$ php yuml-php.phar classes --style="scruffy;dir:TB;scale:80;" src/
Available Options
Usage:
activity [--console] [--debug] file
Arguments:
file the file to read
Options:
--console log to console
--debug debug
Examples
$ php yuml-php.phar activity activity.txt
$ php yuml-php.phar activity --debug activity.txt
$ php yuml-php.phar activity --style="scruffy;dir:TB;scale:80;" activity.txt
Available Options
Usage:
use-case [--console] [--debug] file
Arguments:
file the file to read
Options:
--console log to console
--debug debug
Examples
$ php yuml-php.phar use-case usecase.txt
$ php yuml-php.phar use-case --debug usecase.txt
$ php yuml-php.phar use-case --style="scruffy;dir:TB;scale:80;" usecase.txt
all Development is happening at Github. So open your tickets or pull requests there.
Install yuml-php and all its dependencies (read)
$ phpunit