title: Composer require a fork of a fork
body: <p>My primary goal is to change a dependency version in the <strong>slack</strong> repo.<br>
  In my project, I need to use <strong>slack-laravel</strong> which is depended on <strong>slack</strong>.  </p>
  
  <p>What I did:</p>
  
  <ul>
  <li>forked both <em>slack</em> and <em>slack-laravel</em></li>
  <li>changed the required dependency version in <em>slack</em> and pushed it to a branch called <code>guzzle-patch</code></li>
  <li><p>changed the original <em>slack</em> dependency in <em>slack-laravel</em> to my forked <em>slack</em> like so:</p>
  
  <pre><code>"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/gofilord/slack"
    }
  ],
  "require": {
    "php": "&gt;=5.4.0",
    "maknz/slack": "dev-guzzle-patch"
  },
  </code></pre></li>
  <li>I then did a <code>composer update</code> and it worked with no problems.</li>
  <li>finally, I pushed this update to a new <code>guzzle-patch</code> branch in my forked <em>slack-laravel</em></li>
  </ul>
  
  <p><strong>The problem:</strong><br>
  When I try to <code>composer update</code> <strong>in my project</strong>, pointing to my forked <em>slack-laravel</em>, it throws an error:</p>
  
  <pre><code>Problem 1
    - Installation request for maknz/slack-laravel dev-guzzle-patch -&gt; satisfiable by maknz/slack-laravel[dev-guzzle-patch].
    - maknz/slack-laravel dev-guzzle-patch requires maknz/slack dev-guzzle-patch -&gt; no matching package found.
  </code></pre>
  
  <p><strong>My composer.json:</strong></p>
  
  <pre><code>"repositories": [
    ...
    {
      "type": "vcs",
      "url": "https://github.com/gofilord/slack-laravel"
    }
  ],
  
  "require": {
      ...
      "maknz/slack-laravel": "dev-guzzle-patch"
  },
  </code></pre>