title: Composer package not found in any version
body: <p>I am trying to create a custom vendor package but have not yet put the package on packagist. According to the docs, the package can be loaded from git (vcs) instead of packagist: <a href="https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository" rel="nofollow noreferrer">https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository</a></p>
  <p>The yii2 project (although don't think framework matters) I have created package inside vendor folder:</p>
  <p>foundationize/yii2-foundation
  (folder structure is as above, I have quadruple-checked).</p>
  <p>My root public_html/composer.json has following entries:</p>
  <pre><code>&quot;minimum-stability&quot;: &quot;dev&quot;,
      &quot;require&quot;: {
          &quot;php&quot;: &quot;&gt;=5.4.0&quot;,
          &quot;yiisoft/yii2&quot;: &quot;&gt;=2.0.5&quot;,
          &quot;yiisoft/yii2-swiftmailer&quot;: &quot;*&quot;,
          &quot;foundationize/yii2-foundation&quot;: &quot;dev-master&quot; 
      },
  </code></pre>
  <p>My package composer file, vendor/foundationize/yii2-foundation/composer.json looks like:</p>
  <pre><code>{
      &quot;name&quot;: &quot;foundationize/yii2-foundation&quot;,
      &quot;description&quot;: &quot;The Foundation extension for the Yii2 framework&quot;,
      &quot;keywords&quot;: [&quot;yii2&quot;, &quot;foundation&quot;],
      &quot;type&quot;: &quot;yii2-extension&quot;,
      &quot;license&quot;: &quot;BSD-3-Clause&quot;,
      &quot;support&quot;: {
          &quot;issues&quot;: &quot;https://github.com/foundationize/yii2-foundation/issues&quot;,
          &quot;wiki&quot;: &quot;https://github.com/foundationize/yii2-foundation/wiki&quot;,
          &quot;source&quot;: &quot;https://github.com/foundationize/yii2-foundation.git&quot;
      },
      &quot;authors&quot;: [
          {
              &quot;name&quot;: &quot;gvanto&quot;,
              &quot;email&quot;: &quot;gvanto@hotmail.com&quot;,
              &quot;homepage&quot;: &quot;http://foundationize.com&quot;
          }
      ],
      &quot;require&quot;: {
          &quot;yiisoft/yii2&quot;: &quot;*&quot;
      },
      &quot;autoload&quot;: {
          &quot;psr-4&quot;: {
              &quot;foundationize\\foundation\\&quot;: &quot;&quot;
          }
      },
      &quot;repositories&quot;: [
          {
              &quot;packagist&quot;: false,
              &quot;type&quot;: &quot;vcs&quot;,
              &quot;url&quot;: &quot;https://github.com/foundationize/yii2-foundation.git&quot;           
          }
      ]       
  }
  </code></pre>
  <p>When I run composer install (or update), I keep getting error below:</p>
  <blockquote>
  <p>Your requirements could not be resolved to an installable set of
  packages.</p>
  <p>Problem 1
  - The requested package foundationize/yii2-foundation could not be found in any version, there may be a typo in the package name.</p>
  <p>Potential causes:</p>
  <ul>
  <li>A typo in the package name</li>
  <li>The package is not available in a stable-enough version according to your minimum-stability setting    see
  <a href="https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion" rel="nofollow noreferrer">https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion</a>
  for more details.</li>
  </ul>
  <p>Read <a href="https://getcomposer.org/doc/articles/troubleshooting.md" rel="nofollow noreferrer">https://getcomposer.org/doc/articles/troubleshooting.md</a> for
  further common problems.</p>
  </blockquote>
  <p>I have googled it high and low, read the docs can't seem to get it to work (always the same error, which I actually think would be more useful if it said either the package was not found OR the incorrect package version was found).</p>