Uploading Files to S3 From PHP Without the SDK Bloat
The AWS SDK is 60 MB of vendor directory to sign one request. A presigned PUT is about forty lines, the browser uploads straight to S3 without touching your server, and you can cap the file size before a byte arrives.
Read article













