Skip to content

Commit 0209d17

Browse files
authored
Merge pull request #16 from saada/aws-s3-v2-to-v3
Upgrade aws s3 v2 adapter to v3
2 parents 9ca837c + 3b1fd53 commit 0209d17

File tree

4 files changed

+547
-272
lines changed

4 files changed

+547
-272
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ return [
9292
Either run
9393

9494
```bash
95-
$ composer require league/flysystem-aws-s3-v2
95+
$ composer require league/flysystem-aws-s3-v3
9696
```
9797

9898
or add
9999

100100
```
101-
"league/flysystem-aws-s3-v2": "~1.0"
101+
"league/flysystem-aws-s3-v3": "~1.0"
102102
```
103103

104104
to the `require` section of your `composer.json` file and configure application `components` as follows
@@ -113,7 +113,8 @@ return [
113113
'key' => 'your-key',
114114
'secret' => 'your-secret',
115115
'bucket' => 'your-bucket',
116-
// 'region' => 'your-region',
116+
'region' => 'your-region',
117+
// 'version' => 'latest',
117118
// 'baseUrl' => 'your-base-url',
118119
// 'prefix' => 'your-prefix',
119120
// 'options' => [],

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"league/flysystem": "~1.0"
3131
},
3232
"require-dev": {
33-
"league/flysystem-aws-s3-v2": "~1.0",
33+
"league/flysystem-aws-s3-v3": "~1.0",
3434
"league/flysystem-azure": "~1.0",
3535
"league/flysystem-cached-adapter": "~1.0",
3636
"league/flysystem-copy": "~1.0",

0 commit comments

Comments
 (0)