title: Upload file in S3 using Laravel 5.3
body: <p><strong>Installation Process</strong></p>
  
  <p><strong><a href="https://github.com/aws/aws-sdk-php-laravel" rel="nofollow noreferrer">I followed this tutorial to install aws Package in Laravel 5.3</a></strong></p>
  
  <p><strong>My Code is below</strong></p>
  
  <pre><code>$s3 = \App::make('aws')-&gt;createClient('s3');
  
  $s3-&gt;putObject(array(
      'Bucket'     =&gt; 'Bucket_Name',
      'Key'        =&gt; 'AWS_ACCESS_KEY_ID',
      'SourceFile' =&gt; 'http://domainname/sample.txt',
  ));
  </code></pre>
  
  <p>I am trying a txt file with around 50 bytes contents and got below error.</p>
  
  <blockquote>
    <p>A sha256 checksum could not be calculated for the provided upload
    body, because it was not seekable. To prevent this error you can
    either 1) include the ContentMD5 or ContentSHA256 parameters with your
    request, 2) use a seekable stream for the body, or 3) wrap the
    non-seekable stream in a GuzzleHttp\Psr7\CachingStream object. You
    should be careful though and remember that the CachingStream utilizes
    PHP temp streams. This means that the stream will be temporarily
    stored on the local disk.</p>
  </blockquote>
  
  <p>Am I missing something?</p>