Questions tagged [zftool2]

ZFTool is a utility module for maintaining modular Zend Framework 2 applications.

ZFTool is a utility module for maintaining modular Zend Framework 2 applications. It runs from the command line and can be installed as ZF2 module or as PHAR. This tool gives you the ability to:

  • create a ZF2 project, installing a skeleton application;
  • create a new module inside an existing ZF2 application;
  • get the list of all the modules installed inside an application;
  • get the configuration file of a ZF2 application;
  • install the ZF2 library choosing a specific version.
9 questions
2
votes
0 answers

Using zend developer tool to create modules in ubuntu

i installed Zf using composer require zendframework/zftool:dev-master But whenever i try to run: zf.php create module it shows the file content in the terminal. How do i get this working?
1
vote
1 answer

How to get the ZF classmap_generator.php via Composer without to install the whole Zend Framework?

Due to some issues with the dependencies (zend-test was prohibiting installation of PHPUnit 6), I removed the zendframework/zendframework dependency from the composer.json and installed only the Zend packages I really need. But now, the file…
automatix
  • 14,018
  • 26
  • 105
  • 230
1
vote
1 answer

ZFTool 2 – How to create an action?

I am using the ZFTool 2 to create modules and controllers in my projects. When I try to use it to create an action, I encounter an error. In the documentation it says the following: Action creation: zftool create action
Sven
  • 12,997
  • 27
  • 90
  • 148
0
votes
1 answer

How to get the ZFTool working?

The ZFTool isn't working (anymore) on my Debian VM. $ which zf /usr/local/bin/zf $ ls -lia /usr/local/bin/ | grep "zf" ... zf -> /usr/share/.composer/vendor/bin/zf.php $ cd /usr/share/.composer $ composer info | grep "zftool" zendframework/zftool …
automatix
  • 14,018
  • 26
  • 105
  • 230
0
votes
0 answers

zf.php won't recognize any command

I'm using the ZF2 Skeleton application. I installed zftool using composer: composer require zendframework/zftool:dev-master but then, when I run zf.php I get the HTML of the Skeleton app homepage instead of a list of commands or something... Any…
Muc
  • 1,464
  • 2
  • 13
  • 31
0
votes
1 answer

How to create older (2.4 not 2.5) ZF2 project with ZFTool

In the current folder I've installed ZFTool $ cat composer.json { "require" : { "php" : ">=5.3.3", "zendframework/zftool": "v0.1.0", "zendframework/zendframework": "2.4.8" } } $ /opt/lampp/bin/php ./vendor/bin/zf.php…
jaquar c
  • 31
  • 1
  • 4
0
votes
1 answer

ZFTool: Class 'Zend\Log\ProcessorPluginManager' not found error

After install the ZFTool I was trying to test if it works, but I'm always receiving the following error: fernando@pudim:~/tmp$ php zf.php version PHP Fatal error: Class 'Zend\Log\ProcessorPluginManager' not found in…
Paladini
  • 4,522
  • 15
  • 53
  • 96
0
votes
1 answer

Using zftool in a more efficient manner

I'm new to Zend and noticed there's something called ZFtool. So I installed it via this tutorial: http://framework.zend.com/manual/2.1/en/modules/zendtool.introduction.html. With some hassle and editting I finally got it to work in my htdocs folder…
CaptainCarl
  • 3,411
  • 6
  • 38
  • 71
0
votes
1 answer

ZFTool2 - Error Creating Project

I am new to the Zend Framework. I just started using ZFTool 2. The documentation says I can create a project by running the command zf.php create project When I try to create a project C:\wamp\www>zf.php create project quickstart I…
Ernest Okot
  • 880
  • 3
  • 8
  • 23