title: PHP Composer Autoloader Class not Found Exception
body: <p>The title speaks itself. So here is my project structure:</p>
  
  <pre><code>|src
      |Database
          |Core
              |MySQL.php
          |Support
      start.php
  |vendor
  composer.json
  index.php
  </code></pre>
  
  <p>MySQL.php file:</p>
  
  <pre><code>&lt;?php
  namespace Database\Core;
  //Some methods here
  </code></pre>
  
  <p>index.php and start.php files:</p>
  
  <pre><code>//start.php file
  &lt;?php
  require __DIR__ . '/../vendor/autoload.php';
  ?&gt;
  
  //index.php file
  &lt;?php
  use Database\Core;
  require __DIR__ . '/src/start.php';
  
  $mysql = new MySQL(); // Gets exception Class 'MySQL' cannot found etc.
  ?&gt;
  </code></pre>
  
  <p>And finally my composer.json autoload part:</p>
  
  <pre><code>"autoload": {
      "psr-4": "Database\\": "src/" // Also tried "src/Database" too
  }
  </code></pre>
  
  <p>Where is the problem? I'm really tired of trying to cope with this situation. Please help guys! Thanks.</p>