Context
The AWS SDK dependency is huge. Without removing unused services, it's 51MB. Most of that could be replaced by the Symfony HTTP Client component since this bundle only uploads, downloads, and deletes remote storage files.
This will require the S3 credentials to be passed to the AmazonClient class, which may work better through a Credentials or Configuration value object.
Context
The AWS SDK dependency is huge. Without removing unused services, it's 51MB. Most of that could be replaced by the Symfony HTTP Client component since this bundle only uploads, downloads, and deletes remote storage files.
This will require the S3 credentials to be passed to the
AmazonClientclass, which may work better through aCredentialsorConfigurationvalue object.