composer create-project - command donot work <p>I have my project on github containing composer.json in the root directory. This is how my composer.json code looks like:</p> <pre><code>{ "name": "vendor/projectname", "description": "My first Composer project", "authors": [ { "name": "John Deo", "email": "johndeo@demo.com" } ], "prefer-stable": true, "minimum-stability": "dev", "require": { "php": "~5.3" } } </code></pre> <p>I had defined/submited my package on packagist.org.</p> <p>Now when I try to get the project in my localhost using <code>composer create-project - commands</code> one of its work and another do not work.</p> <pre><code>1. composer create-project -s dev vendor/projectname &gt;&gt; WORKS 2. composer create-project vendor/projectname &gt;&gt; DO NOT WORK </code></pre> <p>Can someone please tell why the second command does not work. What am I missing or doing wrong? Please Help!</p>