This section contains code examples that demonstrate common AWS scenarios that use the AWS SDK for PHP. All the example code for the AWS SDK for PHP is available here on GitHub. Credentials Before running the example code, configure your AWS credentials, as described in Credentials. Then import the AWS SDK for PHP, as described in Basic usage.