title: Autoload Composer installed Packages
body: <p>I'm having trouble understanding with doesn't Composer autoloads the packages I required.</p>
  
  <p>My current composer.json file has the following:</p>
  
  <pre><code>{
      "require": {
          "atlas/orm": "@dev"
      },
      "require-dev": {
          "atlas/cli": "@dev"
      }
  }
  </code></pre>
  
  <p>It was supposed to generate a Namespace in the /vendor/composer/autoload_namespaces.php file. But it doesn't. The file only has the following:</p>
  
  <pre><code>// autoload_namespaces.php @generated by Composer
  
  $vendorDir = dirname(dirname(__FILE__));
  $baseDir = dirname($vendorDir);
  
  return array(
      'Psr\\Log\\' =&gt; array($vendorDir . '/psr/log'),
  );
  </code></pre>
  
  <p>Of course, when I try to use the "require <strong>DIR</strong> . '/vendor/autoload.php';" to autoload the package and then use its classes, it does not work.
  Any idea on how can I solve this?</p>