Skip to content

Commit 5de9a80

Browse files
author
Fredrick Peter
committed
readme for s3
1 parent a2fb2de commit 5de9a80

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* [Requirements](#requirements)
1212
* [Installation](#installation)
1313
* [Instantiate](#instantiate)
14+
* [Amazon Aws Dump](#amazon-aws-dump)
1415
* [Global Config](#global-config)
1516
* [Response Data](#response-data)
1617
* [Get Message](#get-message)
@@ -79,6 +80,22 @@ $file = new Tamedevelopers\File\File();
7980
$file = TameFile();
8081
```
8182

83+
## Amazon Aws Dump
84+
- By default Aws load entire SDK we won't be needing
85+
- Copy the below code into your root `composer.json` and then run `composer update` in terminal.
86+
87+
```
88+
"scripts": {
89+
"pre-autoload-dump": "Aws\\Script\\Composer\\Composer::removeUnusedServices"
90+
},
91+
"extra": {
92+
"aws/aws-sdk-php": [
93+
"Ec2",
94+
"CloudWatch"
95+
]
96+
}
97+
```
98+
8299
## Global Config
83100
- Configure The Global Config, so you don't have to always include default settings
84101
- Define as `named argument`

0 commit comments

Comments
 (0)