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