title: How to test the script and require before posting in packagist?
body: <p>Maybe a true stupid question but how can I really test a script with his dependencies before pushing the package to packagist? </p>
  
  <p>I have tried with in myroot/composer.json :</p>
  
  <pre><code>"autoload": {
      "psr-0": {
          "myname/core": "vendor/myname"
      }
  }
  </code></pre>
  
  <p>in my vendor/myname/core/core.php I have something like this : </p>
  
  <pre><code>namespace myname/core;
  
  die('it works');
  </code></pre>
  
  <p>in my vendor/myname/core/composer.json I have something like this : </p>
  
  <pre><code>{
  "name": "myname/core",
  "description": "xxx",
  "license": "MIT",
  "authors": [
      {
          "name": "my name",
          "email": "",
          "homepage": ""
      }
  ],
  "require": {
      "php": "&gt;=5.3.0",
      "monolog/monolog": "1.0.*"
  }
  }
  </code></pre>
  
  <p>but it doesn't seem to work, when I try to run:</p>
  
  <pre><code>$ php composer.phar install
  =&gt; monolog/monolog is not installed =&gt;
  </code></pre>
  
  <p>can somebody help me to understand?</p>