title: Composer library can't find dependency
body: <p>I made my first php library available through packagist. I'm still figuring out how it works, but I keep getting this exception:</p>
  
  <pre><code>Fatal error: Uncaught Error: Class 'Waspeer\NextAction\FabianBeiner\Todoist\TodoistClient' not found in /home/deb58323n2/domains/wannessalome.nl/public_html/assets/todoist/vendor/waspeer/todoist-next-action/src/NextAction.php:120
  </code></pre>
  
  <p>I listed <code>FabianBeiner\Todoist</code> as a dependency in my composer.json:</p>
  
  <pre><code>"require": {
      "php": "&gt;=7.1.0",
      "fabian-beiner/todoist-php-api-library": "^0.7.2"
  },
  "autoload": {
      "psr-4": {
          "Waspeer\\NextAction\\": "src/"
      }
  }
  </code></pre>
  
  <p>And this is in my library file:</p>
  
  <pre><code>namespace Waspeer\NextAction;
  
  use FabianBeiner\Todoist\TodoistClient;
  </code></pre>
  
  <p>It seems like it's trying to find the dependency in the folder of my library, but I don't know why and how to solve this. Any ideas?</p>