title: PSR-4 autoloading with Composer
body: <p>I run a portail with composer's autoloading class system:</p>
  
  <pre><code>"autoload": {
      "psr-4": {
          "Portal\\": "src/"
      }
  }
  </code></pre>
  
  <p>It works when I run <code>composer.phar dump -o</code>, for instance my class Boostrap is well referenced into <code>vendor/composer/autoload_classmap.php</code> file:</p>
  
  <pre><code>'Portal\\Core\\Bootstrap' =&gt; $baseDir . '/src/core/Bootstrap.php',
  </code></pre>
  
  <p>But when I don't run the <em>optimized</em> option on autoload dumping, the autoloading system doesn't works anymore:</p>
  
  <pre><code>Fatal error: Class 'Portal\Core\Bootstrap' not found in /var/www/portail/prod/web/index.php on line 7
  </code></pre>
  
  <p>How can I make autoloading works without <code>-o</code> option?</p>