title: How to require a fork with composer?
body: <p>This is my <code>composer.json</code>, I want to use Nodge's fork of lessphp project on Github</p>
  <pre class="lang-json prettyprint-override"><code> &quot;repositories&quot;: [{
      &quot;type&quot;: &quot;package&quot;,
      &quot;package&quot;: {
          &quot;version&quot;: &quot;dev-master&quot;,
          &quot;name&quot;: &quot;nodge/lessphp&quot;,
          &quot;source&quot;: {
              &quot;url&quot;: &quot;https://github.com/Nodge/lessphp.git&quot;,
              &quot;type&quot;: &quot;git&quot;,
              &quot;reference&quot;: &quot;master&quot;
          },
          &quot;autoload&quot;: {
              &quot;classmap&quot;: [&quot;lessc.inc.php&quot;]
          }
      }
  }],
  &quot;require&quot;: {
      &quot;php&quot;: &quot;&gt;=5.3.3&quot;,
      &quot;nodge/lessphp&quot;: &quot;dev-master&quot;
  },
  </code></pre>
  <p>But I get this error when I run <code>composer update</code>:</p>
  <blockquote>
  <p>nodge/lessphp dev-master -&gt; no matching package found.</p>
  </blockquote>
  <p>I don't know how to require correctly this fork.</p>