Skip to content

Commit 5dae840

Browse files
committed
Rearranged some content in the README to improve installation workflow.
1 parent d88b7a0 commit 5dae840

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,28 @@ Then run a composer update
2828
php composer.phar update
2929
```
3030

31-
## Configuration
32-
3331
To use the AWS Service Provider, you must register the provider when bootstrapping your Laravel application.
3432

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+
3553
By default, the package uses the following environment variables to auto-configure the plugin without modification:
3654
```
3755
AWS_ACCESS_KEY_ID
@@ -57,24 +75,6 @@ return [
5775
];
5876
```
5977

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-
7878
## Usage
7979

8080
In order to use the AWS SDK for PHP within your app, you need to retrieve it from the [Laravel IoC

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy