title: Installing multiple packages with composer?
body: <p>I am trying to install the latest version of <code>Zend Framework 2</code> with composer and also install at least one other package at the same time. The other package is another <code>Zend Framework</code> package. The two packages are:
  <code>zendframework/zendframework</code>
  <code>zendframework/zendservice-twitter</code></p>
  
  <p>I added <code>zendframework/zendservice-twitter</code> to the require section of that file. It doesn't look like there is any other section to use to install multiple packages in the same directory tree. But when I try to add <code>zendframework/zendservice-twitter</code> to the require section of the <code>composer.json</code> file, it tells me that <code>zendframework/zend-uri</code> is required. But <code>zendframework/zend-uri</code> is installed by the <code>zendframework/zendframework</code> package. It is listed in the replace section of that <code>composer.json</code> file. So apparently the replace section is not the place to add other packages that need to be installed. But you can't have multiple composer.json files in the same directory either, so is it even possible to install <code>Zend Framework 2</code> and <code>ZendServiceTwitter</code> in the same installation with composer?</p>
  
  <p>When I download a package as a zip file from <a href="https://packages.zendframework.com/#composer" rel="nofollow noreferrer">https://packages.zendframework.com/#composer</a>, I get a composer.json file in the zip file, but it does not have the same repository setting that it says to use at <a href="https://packages.zendframework.com" rel="nofollow noreferrer">https://packages.zendframework.com</a>. So I am not sure if that composer.json file is intended to be edited in order to upgrade or reinstall.</p>
  
  <p>Isn't there some way to tell composer that this is a circular dependency?</p>