AWS Developer Blog
Category: PHP
Introducing support for Amazon S3 Select in the AWS SDK for PHP
We’re excited to announce support for the Amazon Simple Storage Service (Amazon S3) SelectObjectContent API with event streams in the AWS SDK for PHP in version 3.67.11. Using Amazon S3 Select, you can query for a subset of data from an S3 object by using simple SQL expressions. Amazon S3 streams the responses as a […]
Read MoreAWS Service Provider for Symfony v2 with Support for Symfony v4
Version 2.0.0 of the AWS Service Provider for Symfony has been released with support for Symfony v4. You can upgrade through Composer using the following command: composer require aws/aws-sdk-php-symfony ~2.0 This AWS Service Provider for Symfony release is compatible with version 3 of the AWS SDK for PHP and versions 2, 3, and 4 of […]
Read MoreUsing the Multipart Uploader with Client-Side Encryption for Amazon S3 in the AWS SDK for PHP
The AWS SDK for PHP released support for multipart uploads with client-side encryption in version 3.48.0 via the S3EncryptionMultipartUploader. With client-side encryption, data is encrypted and decrypted directly in your environment. This means that this data is encrypted before it’s transferred to Amazon S3, and you don’t rely on an external service to handle encryption […]
Read MoreUsing Client-Side Encryption for Amazon S3 in the AWS SDK for PHP
The AWS SDK for PHP released an S3EncryptionClient in version 3.38.0. With client-side encryption, data is encrypted and decrypted directly in your environment. This means that this data is encrypted before it’s transferred to Amazon S3, and you don’t rely on an external service to handle encryption for you. The AWS SDK for PHP implements […]
Read MoreUpdated Composer Dependencies for AWS SDK for PHP Version 3
In version 3.34.0, the AWS SDK for PHP is updated to correctly communicate its dependencies on PHP extensions through Composer. Several extensions included in many common PHP distributions are not guaranteed to be installed or enabled. In earlier versions, the SDK silently required each of the following extensions, which would cause errors at runtime if […]
Read MoreAutomated Changelog in AWS SDK for PHP
Starting with version 3.22.10 of the AWS SDK for PHP, released February 23, 2017, the Changelog Builder automatically processes all changelog entries. Each pull request is required to have a changelog JSON blob as part of the request. The system also calculates the next version for the SDK based on the type of the changes that […]
Read MorePHP application logging with Amazon CloudWatch Logs and Monolog
Logging and information debugging can be approached from a multitude of different angles. Whether you use an application framework or coding from scratch it’s always comforting to have familiar components and tools across different projects. In our examples today, I am going to enable Amazon CloudWatch Logs logging with a PHP application. To accomplish this, […]
Read MoreAutomating the Deployment of Encrypted Web Services with the AWS SDK for PHP (Part 2)
In the first post of this series, we focused on how to use Amazon Route 53 for domain registration and use Amazon Certificate Manager (ACM) to create SSL certificates. With our newly registered domain available for use, we can proceed to deploy and configure the services we need to host the www.dev-null.link website across an […]
Read MoreAutomating the Deployment of Encrypted Web Services with the AWS SDK for PHP
Having worked in the web hosting space, one of the areas I find so fun about AWS is the ease of automating tasks that have historically been quite disjointed. The process of supporting a customer request to register a domain, create or update DNS entries, configure the load balancer, deploy servers, etc., had me working […]
Read MoreConcurrency in Version 3 of the AWS SDK for PHP
From executing API commands in the background to grouping commands and waiters into concurrent pools, version 3 of the AWS SDK for PHP lets you write asynchronous code that blocks only when you need it to. In this blog post, I’ll show you how to take advantage of some of the SDK’s concurrency abstractions, including […]
Read More