Sushan Ghimire
Sushan Ghimire

Reputation: 7567

How to install Zend Framework 2.2 on Windows?

I did my research, this is what I understand:

  1. Download zipball
  2. Configure php.ini (includ_path)
  3. Add Zend's bin directory path to PATH
  4. And use zf command to create projects

My problem is I can't find zf.bat inside bin (Yes, I did download zipball, using this link). There's no zf.bat, this is how my bin looks like:

enter image description here

My Question:

Did I download wrong zip? If so where can I get the right one? I've tried downloading all zips from zend website.

These questions were helpful to me:

  1. How to install Zend Framework on Windows
  2. Installing Zend Framework After Xampp

Upvotes: 3

Views: 8546

Answers (2)

Sushan Ghimire
Sushan Ghimire

Reputation: 7567

Easiest of all methods is to:

  1. Install GitHub for Windows.
  2. Then open Git Shell and run following line:

git clone git://github.com/zendframework/ZendSkeletonApplication.git --recursive

That's it.

Upvotes: 2

jszobody
jszobody

Reputation: 28911

There is no zf.bat in Zend Framework 2 (for now anyway), that's in Zend Framework 1.

You will want to download the skeleton application here: https://github.com/zendframework/ZendSkeletonApplication

Also see: http://framework.zend.com/manual/2.2/en/user-guide/skeleton-application.html to see how they are using composer to setup a new project based on the skeleton, rather than using the old zf.bat.

You can also check out ZFTool which is a new utility for managing ZF2: https://github.com/zendframework/ZFTool

Upvotes: 3

Related Questions