Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Can you use version 3 for league/flysystem-aws-s3-v3? #10

Open
luudv opened this issue Apr 17, 2022 · 6 comments
Open

Can you use version 3 for league/flysystem-aws-s3-v3? #10

luudv opened this issue Apr 17, 2022 · 6 comments

Comments

@luudv
Copy link

luudv commented Apr 17, 2022

2022-04-17_8-42-32 AM

I am using laravel 9 on php8, I need to install your plugin but i get this issue
@hcaz
Copy link
Contributor

hcaz commented Apr 27, 2022

Hello,

Thanks for reporting this. I will look into it this week and update the package for you.

@christogonus
Copy link

Hi @hcaz

Thanks for the nice package.
Is there a way to quickly bypass this error while we wait for official package update?

@hcaz
Copy link
Contributor

hcaz commented May 27, 2022

@christogonus and @luudv It looks like Laravel now supports s3 compatible backends natively so there is no need to use this package.

Putting this in your filesystems.php config file should do the trick

        'wasabi' => [
            'driver' => 's3',
            'key' => env('WASABI_ACCESS_KEY_ID'),
            'secret' => env('WASABI_SECRET_ACCESS_KEY'),
            'region' => env('WASABI_DEFAULT_REGION', 'eu-central-1'),
            'bucket' => env('WASABI_BUCKET'),
            'endpoint' => env('WASABI_ENDPOINT', 'https://s3.eu-central-1.wasabisys.com/'),
        ],

@christogonus
Copy link

Awesome. Thanks.

@hcaz
Copy link
Contributor

hcaz commented May 27, 2022

If you can let me know if that does indeed work for you I will update the readme of this plugin to inform others

@christogonus
Copy link

@hcaz Yes please, it worked like charm haha.

https://prnt.sc/8rxEWQDkQylT

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants