Caution: The documentation you are viewing is
for an older version of Zend Framework.
You can find the documentation of the current version at:
https://docs.zendframework.com/
Zend_Tool Project Providers - Zend_Tool_Project
Below is a table of all of the providers shipped with Zend_Tool_Project.
Provider Name | Available Actions | Parameters | CLI Usage |
---|---|---|---|
Controller | Create | create - [name, indexActionIncluded=true] | zf create controller foo |
Action | Create | create - [name, controllerName=index, viewIncluded=true] | zf create action bar foo (or zf create action --name bar --controlller-name=foo) |
Controller | Create | create - [name, indexActionIncluded=true] | zf create controller foo |
Profile | Show | show - [] | zf show profile |
View | Create | create - [controllerName,actionNameOrSimpleName] | zf create view foo bar (or zf create view -c foo -a bar) |
Test | Create / Enable / Disable | create - [libraryClassName] | zf create test My_Foo_Baz / zf disable test / zf enable test |
DbTable | Create | create - [libraryClassName, tableName, ModuleName=null, forceOverwrite=false] | zf create db-table FooClass FooTableName BarModule force-overwrite / zf create db-table FooClass FooTableName BarModule / zf create db-table FooClass FooTableName / zf create db-table FooClass FooTableName --force-overwrite=true / zf create db-table.from-database BarModule force-overwrite / zf create db-table.from-database BarModule / zf create db-table.from-database --force-overwrite=true |