phpzend-frameworkzend-framework2composer-phpzend-framework3

How can I install Zend Framework 2.4.13 with composer?


I am Ruby on Rails developer.
In it for a particular Ruby version their is a rails version to suit it.

But now I am using Zend Framework 2 requires PHP 5.6 or later which is fine.
Now it has a composer and it has its own versions. I have tried to download zend framework 2 according to documention at https://framework.zend.com/manual/2.4/en/user-guide/skeleton-application.html I always end up with Zend framework 3.

Also Try to download sketon app from archive at https://framework.zend.com/downloads/archives But they do not have any public folder in them. But actualy I want zend framework 2.4.13 do not know to get it done. Please help.

The command: composer create-project -n -sdev zendframework/skeleton-application path/to/install always create a ZendFramework 3 app is their is a command to create a project of zendfrmaework 2.

I have php 5.6 install with composer 1.4.2

Please provide the tutorial link which is start teaching from ground zero/beginning.


Solution

  • Follow the instruction here How to install Zend Framework 2.4 and you will got 2.4.13 version.

    Just check it with:

    $ composer show -i 
    

    For begging tutorials my advice is to use latest version (ZF3).

    For old version 2.* you can find several books, just google it.