ZF(8)

NAME
zf - command line tool for zendframework

SYNOPSIS
zf [--global-opts] action-name [--action-opts] provider-name [--provider-opts] [provider parameters ...]

DESCRIPTION
zf is a command line tool to create and manage zendframework projects.

The CLI, or command line tool (internally known as the console tool), is currently the primary interface for dispatching Zend_Tool requests. With the CLI tool, developers can issue tooling requests inside the "command line window", also commonly known as a "terminal" window.

OPTIONS

zf show version mode[=mini] name-included[=1]
    This will show the current version number of the copy of Zend Framework the zf.php tool is using.

zf show manifest
    This will show what information is in the tooling systems manifest. This is more important for provider developers than casual users of the tooling system.

zf create project MyProjectName
    The project provider is the first command you might want to run. This will setup the basic structure of your application. This is required before any of the other providers can be executed.

zf create module Blog
    This will create a module named Blog at application/modules/Blog, and all of the artifacts that a module will need.

zf create controller Auth
    This will create a controller named Auth, specifically it will create a file at application/controllers/AuthController.php with the AuthController inside.

zf create action login Auth
    This will create an action in an existing controller.

zf create view Auth my-script-name
    This will create a view script in the controller folder of Auth.

zf create model User
    This will create a model User.

zf create form Auth
    This will create a form Auth.

zf configure dbadapter adapter=Pdo_Mysql&username=test&password=test&dbname=test
    This will configure your database connection and is saved in your application.ini.

zf create dbtable User user
    This creates a Zend_Db_Table model/data file.

zf enable layout
    This enable layout in your application and creates necessary files and store this to your application.ini.

HOMEPAGE
More information about zendframework project can be found at <http://framework.zend.com/>.

AUTHOR
The development is currently coordinated by Zend Technologies Ltd. <http://framework.zend.com>.

This manual page was written by Frank Habermann <lordlamer@lordlamer.de>, for the Debian project (but may be used by others).