title: How Can I Use Fat Free Framework's Autoloader With Composer Compatible Libraries
body: <p>I currently use the F3 autoloader to load F3 from <code>/lib/f3</code> and my app code from <code>/app</code></p>
  
  <p>My config for AUTOLOAD is <code>AUTOLOAD="lib/f3/;app/;</code></p>
  
  <p>So now I can do things like</p>
  
  <pre><code>$user = New \Models\User;
  echo \Template::instance()-&gt;render('layout.html');
  </code></pre>
  
  <p>I want to also autoload other libraries but I seem to be having trouble. When I add them to <code>/lib</code> I also change the autoload:  <code>AUTOLOAD="lib/f3/;app/;lib/;</code></p>
  
  <p>For example, lets try this class:
  <a href="https://github.com/tpyo/amazon-s3-php-class" rel="nofollow">https://github.com/tpyo/amazon-s3-php-class</a></p>
  
  <p>I put <code>S3.php</code> in <code>/lib</code> I also put it in <code>/lib/S3</code>
  ...Still I cant do things like</p>
  
  <pre><code>$s3 = new \S3(....);   
  $s3 = new S3(....);   
  $s3 = new \S3\S3(....);  
  </code></pre>
  
  <p>Nothing works without   <code>require_once 'lib/S3/S3.php';</code></p>
  
  <p>I have the same problem with Swiftmailer, MPDF and anything else I try.</p>
  
  <p>What am I missing here? How can I easily install Composer compatible libraries which should autoload?</p>