You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ A Symfony bundle for including the [AWS SDK for PHP](https://github.com/aws/aws-
9
9
10
10
## Installation
11
11
12
-
The AWS bundle can be installed via [Composer](http://getcomposer.org) by requiring the
13
-
`aws/aws-sdk-php-symfony` package in your project's `composer.json`:
12
+
The AWS bundle can be installed via [Composer](http://getcomposer.org) by
13
+
requiring the`aws/aws-sdk-php-symfony` package in your project's `composer.json`:
14
14
15
15
```json
16
16
{
@@ -37,6 +37,21 @@ class AppKernel extends Kernel
37
37
}
38
38
```
39
39
40
+
## Configuration
41
+
42
+
Configuration is handled by the SDK rather than by the bundle, and no validation
43
+
is performed at compile time. Full documentation of the configuration options
44
+
available can be read in the [SDK Guide](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/configuration.html).
45
+
46
+
To use a service for any configuration value, use `@` followed by the service
47
+
name, such as `@a_service`. This syntax will be converted to a service during
48
+
container compilation. If you want to use a string literal that begins with `@`,
49
+
you will need to escape it by adding another `@` sign.
50
+
51
+
Sample configuration can be found in the `tests/fixtures` folder for [YAML](https://github.com/aws/aws-sdk-php-symfony/blob/master/tests/fixtures/config.yml), [PHP](https://github.com/aws/aws-sdk-php-symfony/blob/master/tests/fixtures/config.php), and [XML](https://github.com/aws/aws-sdk-php-symfony/blob/master/tests/fixtures/config.xml).
52
+
53
+
## Usage
54
+
40
55
This bundle exposes an instance of the `Aws\Sdk` object as well as instances of each AWS client object as services to your symfony application
0 commit comments