Gaufrette icon indicating copy to clipboard operation
Gaufrette copied to clipboard

Permit custom url in S3 adapter

Open incyclum opened this issue 6 years ago • 3 comments

AWS S3 URL is hardcoded in the adapter (I can't set my own URL) so we can't use any other S3 API-compatible solutions like Minio, Wasabi or Backblaze B2.

After adding Minio to my development stack I was impeded because of that issue.

incyclum avatar Apr 23 '18 08:04 incyclum

Hello :)

Thank you for pointing that out :+1: Do you mind to create a PR for that ? eg having an abstract class for all S3 API compatibles services ? Or more flexible : set the base URL in the constructor of the S3 API compatible adapter ?

nicolasmure avatar Oct 11 '18 19:10 nicolasmure

I'll try to take a look soon when i'll have time to work on it, i'll create a PR or write about any impediments that might occur.

incyclum avatar Oct 14 '18 09:10 incyclum

@incyclum Did you ever get to this? Trying to move from the Amazon S3 adapter to the AWS S3 adapter and hitting this.

fatso83 avatar Dec 02 '21 05:12 fatso83