File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,28 @@ Then run a composer update
28
28
php composer.phar update
29
29
```
30
30
31
- ## Configuration
32
-
33
31
To use the AWS Service Provider, you must register the provider when bootstrapping your Laravel application.
34
32
33
+ Find the ` providers ` key in your ` config/app.php ` and register the AWS Service Provider.
34
+
35
+ ``` php
36
+ 'providers' => array(
37
+ // ...
38
+ 'Aws\Laravel\AwsServiceProvider',
39
+ )
40
+ ```
41
+
42
+ Find the ` aliases ` key in your ` config/app.php ` and add the AWS facade alias.
43
+
44
+ ``` php
45
+ 'aliases' => array(
46
+ // ...
47
+ 'AWS' => 'Aws\Laravel\AwsFacade',
48
+ )
49
+ ```
50
+
51
+ ## Configuration
52
+
35
53
By default, the package uses the following environment variables to auto-configure the plugin without modification:
36
54
```
37
55
AWS_ACCESS_KEY_ID
@@ -57,24 +75,6 @@ return [
57
75
];
58
76
```
59
77
60
- Find the ` providers ` key in your ` app/config/app.php ` and register the AWS Service Provider.
61
-
62
- ``` php
63
- 'providers' => array(
64
- // ...
65
- 'Aws\Laravel\AwsServiceProvider',
66
- )
67
- ```
68
-
69
- Find the ` aliases ` key in your ` app/config/app.php ` and add the AWS facade alias.
70
-
71
- ``` php
72
- 'aliases' => array(
73
- // ...
74
- 'AWS' => 'Aws\Laravel\AwsFacade',
75
- )
76
- ```
77
-
78
78
## Usage
79
79
80
80
In order to use the AWS SDK for PHP within your app, you need to retrieve it from the [ Laravel IoC
You can’t perform that action at this time.
0 commit comments