G.Z
G.Z

Reputation: 121

Zend Framework 2 and zftool in PHPStorm Command Line

I've got problems with integration zftool into PHPStorm. I tryied it in two ways:

For example I've added composer into PHPStorm Command Line Tool Support with writing path $PhpExecutable$ composer.phar.

Look there

I tried to do the same with ZFTool but it didn't work for me.:

C:\bin>echo @php "%~dp0zftool.phar" %*>zftool.bat

And then in PHPStorm $PhpExcecutable$ zftool.phar, and add to global variables folder zftool/bin

My questions are:

  1. How to set it up in PHPStorm Command Line?
  2. What exacly $PhpExcecutable$ is and can I set/install any .phar like this? (I've chose automatic installation of composer).

Upvotes: 2

Views: 851

Answers (1)

Andron
Andron

Reputation: 6631

How I fixed this issue:

  1. Downloaded a zip ball from zend web site
  2. Extracted it under the vendor directory with ZFTool name (I guess case is important)
  3. Downloaded phar from here and placed in the same ZFTool directory
  4. Added a new record to the Command Line Support in PhpStorm and pointed to the phar file.

Easy? Don't think so :S

Upvotes: 1

Related Questions