title: composer autoload doesn't load the file properly
body: <p>I have problems with auto loading the files, I tried to find some solution but with no luck. Here is my file structure:</p>
  
  <pre><code>my-site
  - src
  - - app
  - - - core
  - - - - App.php
  - vendor
  index.php
  composer.json
  </code></pre>
  
  <p>Here is my my composer.json</p>
  
  <p><code>
      "autoload": {
          "psr-4": {
              "App\\":"src"
          }
      }
  </code>
  Here is my App.php file:</p>
  
  <pre><code>namespace App\Core;
  class App {}
  </code></pre>
  
  <p>and now, if I try (into index.php)</p>
  
  <pre><code>require_once __DIR__ . '/vendor/autoload.php';
  use App\Core\App;
  var_dump( class_exists('App') );
  </code></pre>
  
  <p>Where I'm wrong ?</p>
  
  <p>Thanks.</p>
  
  <p>I found my problem, the problem in my case was into the dump-autoload, I tried like this:</p>
  
  <pre><code>composer dumpautoload -o
  </code></pre>
  
  <p>and now works, thanks guys!</p>