Show Menu

Zend Tool Cheat Sheet by richardjh

Zend Framework Command Line Console Tool v1.11.5

Usage

zf [--glo­bal­-opts] action­-name [--act­ion­-opts] provid­er-name [--pro­vid­er-­opts] [provider parameters ...]

Note: You may use "­?" in any place of the above usage string to ask for more specific help inform­ation.

Example: "zf ? versio­n" will list all available actions for the version provider.

Version

zf show version mode[=­mini] name-i­ncl­ude­d[=1]

Note: There are specia­lties, use zf show version.? to get specific help on them.

Config

zf create config
zf show config
zf enable config
zf disable config

Note: There are specia­lties, use zf enable config.? to get specific help on them.

Note: There are specia­lties, use zf disable config.? to get specific help on them.

ProjectProvider

zf create projec­t-p­rovider name actions
 

Phpinfo

zf show phpinfo

Manifest

zf show manifest

Profile

zf show profile

Project

zf create project path name-o­f-p­rofile file-o­f-p­rofile
zf show project

Note: There are specia­lties, use zf show project.? to get specific help on them.

Application

zf change applic­ati­on.c­la­ss-­nam­e-p­refix class-­nam­e-p­refix

Model

zf create model name module

View

zf create view contro­lle­r-name action­-na­me-­or-­sim­ple­-name
 

Controller

zf create controller name index-­act­ion­-in­clu­ded[=1] module

Action

zf create action name contro­lle­r-n­ame­[=I­ndex] view-i­ncl­ude­d[=1] module

DbAdapter

zf configure db-adapter dsn sectio­n-n­ame­[=p­rod­uction]

DbTable

zf create db-table name actual­-ta­ble­-name module force-­ove­rwrite

Note: There are specia­lties, use zf create db-table.? to get specific help on them.

Form

zf enable form module
zf create form name module

Layout

zf enable layout
zf disable layout

Module

zf create module name
 

Share This Cheat Sheet!

Favourited by 4 Members:

Theosis webs86 saji89 slovacus

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.