[S3] Support for stream wrappers
Official AWS SDK client for PHP supports stream wrapper for S3 Client.
https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/s3-stream-wrapper.html
Is there something similar for async-aws/s3 ? (I couldn't find it)
I once use streamWrapper on the the AWS package. For bad reason and lack of knowledge. I'm not sure will should move in that direction. I recommend instead using a file system abstraction like FlySystem (we provide an adapter for it)
What is your use case?
It is easy to swap base file path with a stream wrapper in a legacy application.
fopen, file_get_contents, etc all work out of the box with almost no change in codebase.
to be, this should be handled by using the Flysystem stream wrapper with their adapter for async-aws/s3 instead of writing our own stream wrapper here. @jderusse I suggest closing this issue.