Code examples with guidance for the AWS SDK for PHP
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.
Topics
- Amazon CloudFront examples
- Amazon CloudSearch
- Amazon CloudWatch examples
- Amazon EC2 examples
- Amazon OpenSearch Service
- AWS Identity and Access Management examples
- AWS Key Management Service
- Kinesis examples
- AWS Elemental MediaConvert
- Amazon S3 examples
- AWS Secrets Manager
- Amazon SES examples
- Amazon SNS examples
- Amazon SQS examples
- Amazon EventBridge