title: Composer psr-4 autoload issue
body: <p>I have problem with autoloading with composer when i use psr-4 autoloading it doesn't work and give me error. </p>
  
  <p>I tried: </p>
  
  <pre><code>$ composer dump-autoload
  </code></pre>
  
  <p>and a lot of other thing but it doesn't work without </p>
  
  <pre><code>require one;
  </code></pre>
  
  <p>error:</p>
  
  <pre><code>You are now a master builder, that knows how to autoload with a 
  classmap! 
  Fatal error: Uncaught Error: Class 'VegithemesLibraryGreeting' not 
  found in /home/vaclav/Server/vssk/VSSK/project/aldemo/index.php:10 
  Stack trace: #0 {main} thrown in 
  /home/vaclav/Server/vssk/VSSK/project/aldemo/index.php on line 10
  </code></pre>
  
  <p>composer.json:</p>
  
  <pre><code>{
  "autoload": {
      "files": ["mylibrary/functions.php"],
  
      "classmap": [
      "classmap"
      ],
  
      "psr-4": {
          "one\\": "src/"
      }
    }
  }
  </code></pre>
  
  <p>greeting.php (file with class to load):</p>
  
  <pre><code>&lt;?php
  namespace one;
  
  Class Greeting
  {
      public function hi()
      {
          return "We got you covered";
      }
  }
  </code></pre>
  
  <p>index.php file:</p>
  
  <pre><code>&lt;?php
  
  require 'vendor/autoload.php';
  
  echo lego();
  
  $cm = new Cmautoload;
  echo $cm-&gt;classmap();
  
  $vt = new oneGreeting;
  
  echo $vt-&gt;hi();
  </code></pre>