flysystem icon indicating copy to clipboard operation
flysystem copied to clipboard

Is flysystem-aws-s3-v3 compatible with Minio?

Open filisko opened this issue 8 months ago • 1 comments

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!

filisko avatar Apr 21 '25 09:04 filisko

Yes! It supports it! I use it from version 1.

Vegeeto avatar Jun 13 '25 11:06 Vegeeto

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

SimonMellerin avatar Jul 11 '25 08:07 SimonMellerin

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'

SimonMellerin avatar Jul 11 '25 08:07 SimonMellerin

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.

marc31 avatar Aug 14 '25 01:08 marc31