title: composer install private repository in custom directory
body: <p>I am trying to install my private repository using <code>composer</code> and i have this code for my bitbucket repository which is being cloned inside <code>vendor/paladinstha/core</code></p>
  
  <pre><code>"repositories": [
      "type": "package",
      "package": {
        "name": "paladinstha/core",
        "version": "dev-master",
        "source": {
          "url": "git@bitbucket.org:paladinstha/core.git",
          "type": "git",
          "reference": "origin/master"
        },
        "autoload": {
          "psr-4": { "": "src/" }
        }
      }
    }
  ],
  </code></pre>
  
  <p>the folder structure now is:</p>
  
  <pre><code>|-Modules
  |-vendor
    |-paladinstha
      |-core
  </code></pre>
  
  <p>but i intend to clone it inside <code>Modules</code> directory. I have also tried to install in custom path using this composer <a href="https://getcomposer.org/doc/faqs/how-do-i-install-a-package-to-a-custom-path-for-my-framework.md" rel="nofollow">docs</a></p>
  
  <p>I have set like this in my <code>composer.json</code> file.</p>
  
  <pre><code>"extra": {
    "installer-paths": {
      "Modules/Core": ["paladinstha/core"]
    }
  },
  </code></pre>
  
  <p>It is being cloned to <code>vendor</code> directory. What am i doing wrong? Could any one put a light on it.</p>