v1.0.5
- By default Aws load entire SDK we won't be needing
- Copy the below code into your root
composer.jsonand then runcomposer updatein terminal.
- Copy the below code into your root
"scripts": {
"pre-autoload-dump": "Aws\\Script\\Composer\\Composer::removeUnusedServices"
},
"extra": {
"aws/aws-sdk-php": [
"Ec2",
"CloudWatch"
]
}