The AWS SDK for PHP provides API access to 44 of the services offered by Amazon Web Services. It does so by leveraging existing libraries like Guzzle (HTTP client and web service client framework) and the Symfony Event Dispatcher. The best way to install the SDK is using Composer, which helps you install and manage the SDK's dependencies.
However, if you really want to trim down the SDK code for a specific reason, you can download the source of the SDK, and its dependencies using the aws.zip
, and remove the parts you don't need. Here is how to do it:
- Follow the instructions in the user guide for Installing Via Zip.
- Unzip aws.zip.
- If you are not using caching features, delete the
Doctrine
directory. - If you are not using logging features, delete the
Monolog
andPsr
directories.