Questions tagged [zend-tool]

Zend Tool or ZFtool is a command line utility for managing Zend Framework 2 (Previously Zend Framework 1) Applications. It provide features like generate skeleton project/module structure, generate controller/actions, get configs etc.

Zend Tool or ZFtool is a command line utility for managing Zend Framework 2 (Previously Zend Framework 1) Applications. It provide features like generate skeleton project/module structure, generate controller/actions, get configs etc.

It provides following features.

  • Generate skeleton application structure.
  • Generate module structure.
  • Generate controller classes.
  • Generate controller actions.
  • Generate classmap for module.
  • Get loaded modules

It can be install by using composer or just using phar file zftool.phar.

For installation/usage information can found at github

65 questions
1
vote
1 answer

Using ZFTool in ZF2 to create new modules

I installed the ZF2 skeleton application via composer and am learning ZF2 via the book Learn ZF2 by Slavey Karadzhov. I added the zftool dependency via composer after the skeleton was installed. I'm on Windows 8. I've been through…
1
vote
4 answers

Problems with zend-tool reporting that providers are not valid

I have recently setup XAMPP 1.7.3 and ZendFramework 1.10.4 on a new computer and many of the commands that I normally use now fail. Here are the steps I used to setup and test ZF. First I added the ZF library folder…
Mario
  • 1,999
  • 2
  • 15
  • 28
1
vote
1 answer

PHP CLI version issue

I am trying to use Zend Tool on my media temple Grid Server account. The problem is that the installed CLI version of PHP is 4.4.8 and Zend Framework needs PHP5. On an account basis its possible to choose PHP 4 or 5 but not so for CLI. Its possible…
robjmills
  • 18,438
  • 15
  • 77
  • 121
1
vote
5 answers

Zend command line tool action error

I just managed to create a project using Zend_Tool, but I am stuck on "second step" - enabling layout. zf enable layout leads to: An Error Has Occurred Action 'enable' is not a valid action. This is my folder structure: |--library | |--Zend …
Petr Peller
  • 8,581
  • 10
  • 49
  • 66
1
vote
2 answers

Segmentation fault in Zend_Tool

I'm using Ubuntu 9.04 and I applied this tutorial But I'm still getting this error: $ zf show version Segmentation fault What do I miss? Thanks.
user57823
1
vote
1 answer

How to create a new action in Zend 2 by command line?

I know in zf1 we can use command line to create action like below: zf create action But in Zend 2, I can't find a command line which can create a new action. Is that removed, or maybe a new command can do this? thanks.
Hong
  • 11
  • 2
1
vote
1 answer

ZF2 Zend Tool CLI will not work on Mac

I am attempting to use Zend Tool in the Zend Framework 2 with no luck. I have installed it with composer in a project directory, and executed the composer install command. This appears to be successful. I have also downloaded the zftool.phar file.…
vsteg
  • 11
  • 1
1
vote
1 answer

How do you migrate an old project to Zend Tool?

I've got a project developed circa Zend Framework 1.7 that I'd like to migrate to Zend Tool and ZF 1.9.4pl1. The main benefit I hope to gain is to be able to use automatic loading of Models, Forms, etc. In other words, I want to eliminate all of…
Jack Tanner
  • 934
  • 1
  • 8
  • 24
1
vote
1 answer

provider "project" is not a valid provider

whn i creating a project on command console i`m getting some error in zend Framework 1.11 i also set my environment varibale flowing way. Download zendframe work extract and paste into D:\xampp\php\ 1st-> enviernment valriable set -> name: Path :…
Bikash Ranjan
  • 136
  • 1
  • 12
0
votes
2 answers

Problem with Zend Framework Quickstart Tutorial and version 1.8.2

I'm trying to work through the quick start tutorial of the Zend Framework version 1.8.2, but I'm getting an error when running this code: zf.sh create project quickstart error: expecting `'{'' in…
Andrew
  • 227,796
  • 193
  • 515
  • 708
0
votes
2 answers

Create action in module's controller in Zend Framework

I have Group module and Moderator controller in my zend project on ubuntu. My Controller class is like this: class Group_ModeratorController extends Zend_Controller_Action { ------- ------- } When I try to create action delete in Moderator…
Student
  • 1,863
  • 9
  • 37
  • 50
0
votes
1 answer

zf create project error (Zend Framework)

I got a error when I try create a project using the zend framework command line: [user ~] /home/user/public_html $ zf create project openstart PHP Catchable fatal error: Argument 1 passed to…
0
votes
2 answers

Zend_Tool problem

This is the third time I'm installing zend studio and zend server now these two are installed succesfully (after half a day). But when I'm trying to create a new project I always get this zf error... ` *************** ZF ERROR **************** …
WingLeung
  • 95
  • 1
  • 10
0
votes
1 answer

Zend_Tool - What does the -p flag mean?

I've seen some zf commands using a flag like this: -p; I couldn't find any information about it. Does anyone know? Update: I found this: When executing the above, it might make sense to use the pretend / "-p" flag first so that you can see…
MEM
  • 30,529
  • 42
  • 121
  • 191
0
votes
2 answers

Zend OSX, and a "." added to context path

I downloaded and unpacked the latest version of Zend Framework, onto OSX (10.6) (am also running webserver with XAMPP, but I added the include_path change to both XAMPP and OSX path, but this is all command line so I dont think the php compiler is…
Mondo
  • 3
  • 1