Creating models for the Zend Framework from command line via phpcli

This is a php cli script that will create a database model from the database provided Download via git from github -> phpcli php zend/model.php -h This is a command line PHP script. Set table Options: -path=[ ] -table=[ ] Usage: php zend/model.php -arg=value Database Structure: CREATE TABLE users ( Alias TEXT UNIQUE, Password TEXT, eMail TEXT, Avatar TEXT, Timezone TEXT, IP TEXT, count INTEGER, cookie TEXT, vars TEXT, status INTEGER DEFAULT 1, added date, updated datetime, PRIMARY KEY(Alias) ); Sample Output: