Skip to content

Commit 525845a

Browse files
authored
Merge pull request thephpleague#44 from Nyholm/async-aws-docs
Added docs for AsyncAws
2 parents ee61f07 + 38fd1f1 commit 525845a

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ to interact with your storage.
9696
1. [Getting started](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/1-getting-started.md)
9797
2. Cloud storage providers:
9898
[Azure](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#azure),
99+
[AsyncAws S3](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#asyncaws-s3),
99100
[AWS S3](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#aws-s3),
100101
[DigitalOcean Spaces](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#digitalocean-spaces),
101102
[Scaleway Object Storage](https://github.com/thephpleague/flysystem-bundle/blob/master/docs/2-cloud-storage-providers.md#scaleway-object-storage),

docs/2-cloud-storage-providers.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ including many cloud storage providers. This bundle provides the same level of s
55
cloud providers by providing corresponding adapters in the configuration.
66

77
* [Azure](#azure)
8+
* [AsyncAws S3](#asyncaws-s3)
89
* [AWS S3](#aws-s3)
910
* [DigitalOcean Spaces](#digitalocean-spaces)
1011
* [Scaleway Object Storage](#scaleway-object-storage)
@@ -35,6 +36,29 @@ flysystem:
3536
prefix: 'optional/path/prefix'
3637
```
3738
39+
## AsyncAws S3
40+
41+
### Installation
42+
43+
```
44+
composer require async-aws/flysystem-s3
45+
```
46+
47+
### Usage
48+
49+
```yaml
50+
# config/packages/flysystem.yaml
51+
52+
flysystem:
53+
storages:
54+
users.storage:
55+
adapter: 'asyncaws'
56+
options:
57+
client: 'aws_client_service' # The service ID of the AsyncAws\S3\S3Client instance
58+
bucket: 'bucket_name'
59+
prefix: 'optional/path/prefix'
60+
```
61+
3862
## AWS S3
3963
4064
### Installation

0 commit comments

Comments
 (0)