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
+25-8Lines changed: 25 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -20,18 +20,35 @@ project's `composer.json`.
20
20
21
21
## Usage
22
22
23
-
First you have to register the AWS Service Provider when bootstrap your Laravel application. You can either provide an
24
-
array of configuration options…
23
+
First you have to register the AWS Service Provider when bootstraping your Laravel application. Create a new `app/config/aws.php` configuration file with the following options.
24
+
25
+
```php
26
+
return array(
27
+
'key' => '<your-aws-access-key-id>',
28
+
'secret' => '<your-aws-secret-access-key>',
29
+
'region' => Region::US_WEST_2,
30
+
);
31
+
```
32
+
33
+
Now find the `providers` key in `app/config/app.php` and register the AWS Service Provider.
34
+
35
+
```php
36
+
'providers' => array(
37
+
38
+
....
39
+
40
+
'Aws\Laravel\AwsServiceProvider',
41
+
42
+
)
43
+
```
44
+
45
+
Or if you'd like to register the configuration options at runtime.
0 commit comments