Zend Framework 2 Command Line Tool (ZFTool) Support

It has been possible to make use of command line tools for a while.  Using the Tools | Run Command… menu we can invoke commands right from our IDE! Some tools like Composer,  Symfony, Zend Framework 1 and Drush (with the Drupal support) have even had full autocompletion support out of the box, providing help with commands and parameters. The new PhpStorm 7 EAP adds Zend Framework 2’s ZFTool to that list.

Through the Project Settings | Command Line Tool Support settings, we can add Zend Framework 2 as a tool and specify the path to zf.php. From then on, PhpStorm provides full support for this tool from the Command Line Tools Console (Ctrl+Shift+X or Cmd+Shift+X on Mac).

Have a look at our tutorials page on Zend Framework 2 for detailed instructions.

Give PhpStorm 7 EAP a try. And as always, let us hear your thoughts in the issue tracker, through the comments below or in our forums!

Develop with pleasure!
– JetBrains PhpStorm Team

About Maarten Balliauw

Maarten Balliauw is a Developer Advocate at JetBrains, working on .NET tools. He focuses on .NET, Azure, web technologies and application performance. Maarten is a frequent speaker at various national and international events. In his free time, he brews his own beer. Follow him on Twitter or check his personal blog.
This entry was posted in Cool Feature, Early Access Program and tagged , , , , , . Bookmark the permalink.
  • Jeffery

    I tested this with latest release 7 and the auto-completion does not work. Commands execute fine and gives the correct output.

    I am not sure if I am doing something wrong.

  • http://www.skylarktravels.net Nadimuthu

    Nice post. And this is very helpful to improve my knowledge in zend framework. and thanks once again.

  • Andr

    If I installing a new zend skeleton zftool working properly. But some time after , ,command arguments became ignored. Command ran but no effects

  • http://www.wecode.com.au Alvin Nguyen

    @Jeffery,

    You might have figured it out by then, but auto complete only work with .phar file, not PHP.

    You can get the phar file from here

    https://packages.zendframework.com/zftool.phar