Is flysystem-aws-s3-v3 compatible with Minio?
Hi, THANKS for this amazing work guys!
I just have a question, is https://github.com/thephpleague/flysystem-aws-s3-v3 compatible with Minio?
Thanks!
Yes! It supports it! I use it from version 1.
Hi @filisko did you succeed to connect to a MinIo instance ?
Do you have an example ? I'd like to see what arguments you gave to the AwsS3Client constructor.
Thanks Simon
Found an example here : https://yoandev.co/lobject-storage-dans-une-application-symfony#mettre-en-place-lutilisation-de-lobject-storage-dans-notre-application
Aws\\S3\\S3Client:
arguments:
- version: 'latest'
region: 'eu-east-1'
endpoint: '127.0.0.1:9000'
credentials:
key: 'access1234'
secret: 'secret1234'
Minio is compatible, but since it doesn’t implement ACL (and doesn’t plan to: https://github.com/minio/minio/issues/8195), visibility() will always return "private" and setVisibility() will return false.
That’s why some old forks of https://github.com/Rene-Roscher/flysystem-aws-s3-v3-minio added a config option to override the returned visibility.