zf - command line tool for zendframework
[--provider-opts] [provider parameters ...]
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.
- 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
- zf create controller Auth
- This will create a controller named Auth, specifically it
will create a file at application/controllers/AuthController.php with the
- 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
- zf create model User
- This will create a model User.
- zf create form Auth
- This will create a form Auth.
- zf configure dbadapter
- 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.
More information about zendframework project can be found at <
The development is currently coordinated by Zend Technologies Ltd. <
This manual page was written by Frank Habermann <
>, for the Debian project (but may be used by