title: Composer - Vendor folder inside vendor folder - Class not found
body: <p>the project structure I have is like the following:</p>
  <pre><code>-src
  -vendor             // from now on vendorA
  -- module1
  --- vendor          // from now on vendorB
  ---- module2
  -Public
  --index.php
  </code></pre>
  <p>I try to install a further module in <strong>vendorB</strong>, with composer require. After installation everything seems ok (composer.lock gets updated, module2 folders are being created etc.). But when I run the code, I get a &quot;Class not Found&quot; error (the error refers to the class from module2, when I try to initialize it).</p>
  <p>I run composer require and composer update on <strong>vendorB</strong> level. Is there something more I could do?</p>