title: Composer - Mapping the src directory to the document root with the vendor folder outside
body: <p>I have the following folder structure.</p>
  
  <pre><code>src/
    |- index.php
  test/
  vendor/
  composer.json
  composer.lock
  </code></pre>
  
  <p>When i want to deploy my code, I realize that i have to map the src/ directory to document root since it contains the index.php file (which btw contains some Restler code)
  However, if i do that, how do i deal with the vendor/ folder that lies outside the document root?</p>