title: Heroku: composer.json in sub folder
body: <p>Lets take the following folder structure:</p>
  
  <pre><code>www/
  www/composer.json
  www/index.php
  www/vendor
  www/backend/
  www/backend/composer.json
  www/backend/index.php
  www/backend/vendor
  </code></pre>
  
  <p>As you can see I have 2 projects, 1 project being a subfolder in the main folder. The main folder gets deployed with heroku and heroku installs the packages from composer.json automatically. Is there a way to instruct heroku or composer.json to also install the www/backend/composer.json packages inside the www/backend/vendor folder?</p>
  
  <p>Or can I specify some of the packages inside the www/compposer.json (not all) to install under the www/backend/vendor folder? Also to generate 2 autoloads file in both www/vendor/ and www/backend/vendor/ ?</p>