title: Composer : how to add a dependency without network connection?
body: <p>My profesionnal network block internet access. Some month ago I download the Silex framework from an archive (which contains composer.json file) and the composer.phar one's, then I transfer them on my desktop throught HDD.</p>
  
  <p>My composer.json that I customized:</p>
  
  <pre><code>{
      "name": "user/silex",
      "require": {
          "silex/silex": "1.2"
                  , "twig/twig": "&gt;=1.8,&lt;2.0-dev"
                  , "doctrine/dbal": "2.2.*"
                  , "symfony/security": "~2.3"
                  , "symfony/security": "~2.3"
      },
      "autoload": {
          "psr-4": {
              "Portal\\": "src/"
          }
      }
  }
  </code></pre>
  
  <p>It works fine, my autoload customization too.</p>
  
  <p><strong>Today</strong> I want to add the <code>monolog/monolog</code> package, so I manually import it from an other computer.</p>
  
  <p>I place it into my vendor folder, I add the following line to my composer.json file:</p>
  
  <pre><code>, "monolog/monolog": "&gt;=1.0.0"
  </code></pre>
  
  <p>I run on the console:</p>
  
  <pre><code>php composer.phar dumpautoload
  </code></pre>
  
  <p>It outputs:
      Generating autoload files</p>
  
  <p>Then it stop without error, but the monolog namespace doesn't appear into my <code>/vendor/composer/autoload_*.php</code> files.</p>
  
  <p>What did I miss?</p>