title: Laravel 4 Artisan commands
body: <p>I am having some trouble using Laravel 4's artisan. When running a basic </p>
  
  <pre><code>php artisan key:generate
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>[InvalidArgumentException] There are no commands defined in the "key" namespace
  </code></pre>
  
  <p>I've read in a few places and have updated composer with the command:</p>
  
  <pre><code>php composer.phar update
  </code></pre>
  
  <p>but this returns:</p>
  
  <pre><code>Nothing to install or update
  </code></pre>
  
  <p>and the problem still stands.</p>
  
  <p><em>Any help will be very appreciated. Thanks.</em></p>