title: Incorrect path to S3 flysystem adapter in Laravel 5
body: <p>I'm having an issue with Laravel 5's filesystem when uploading files to an S3 bucket. The line that is running to the filesystem is:</p>
  
  <pre><code>Storage::disk('s3')-&gt;put($slug, $img);
  </code></pre>
  
  <p>It works as it should for:</p>
  
  <pre><code>Storage::disk('local')-&gt;put($slug, $img);
  </code></pre>
  
  <p>But when I change the disk to S3 it throws the following error:</p>
  
  <pre><code>Class 'League\Flysystem\AwsS3v3\AwsS3Adapter' not found
  </code></pre>
  
  <p>As per the L5 docs, I have the following requirement in my composer.json</p>
  
  <pre><code>"league/flysystem-aws-s3-v2": "~1.0"
  </code></pre>
  
  <p>which installed league's aws flysystem adapter under:</p>
  
  <pre><code>League\flysystem-aws-s3-v2\
  </code></pre>
  
  <p>I have tried updating the path in the fileSystemManager.php in the filesystem vendor folder to the aws flysystem installation path but it still doesn't work. I can't seem to find anyone else who has experienced this behaviour.</p>
  
  <p>A fresh pair of eyes or a knowledgeable head who might know more about Laravel than I would be great. I really can't seem to the issue.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I did a fresh install of the aws flysystem and not I get the following:</p>
  
  <pre><code>ErrorException in Util.php line 250:
  fstat() expects parameter 1 to be resource, object given
  </code></pre>