Zend Framework - install an older version

I have already installed ZF3. But I work for a company that uses only ZF2, and I can use the Doctrine too. Since version 3 cannot work with the doctrine, I must either downgrade it or install an older version.

But I don’t see how to do this, since http://framework.zend.com/download/archives no longer exists?

I tried using composer installand changed composer.json to this:

{   
"name": "zendframework/skeleton-application",
"description": "Skeleton Application for ZF2",
"license": "BSD-3-Clause",
"keywords": [
    "framework",
    "zf2"
],
"homepage": "http://framework.zend.com/",
"repositories": [
    {
    "type": "composer",
    "url": "https://packages.zendframework.com/"
}
],
"require": {
    "php": ">=5.4",
    "zendframework/zendframework": "2.*",
    "doctrine/doctrine-orm-module": "0.*"
}
}

But then I received only the provider and composer.lock, and I can not create the project in the same folder, because it is not empty.

How should I do it?

Thank you in advance for your time!

PS:

I am using php 5.6, with Apache 2.2

+1
2

https://framework.zend.com/downloads/archives 2.4.9, , . , Skeleton.

: ( 2.5) :

composer create-project -sdev --repository-url="https://packages.zendframework.com" zendframework/skeleton-application ./ 2.5
+8

:

$ composer create-project zendframework/skeleton-application path/to/install ^2.5
+1

Source: https://habr.com/ru/post/1668113/


All Articles