AWS Developer Blog

Updated 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 not present:

After this update, when you install the SDK via Composer, you will be notified of the SDK’s reliance on these extensions. Updates via Composer will fail if you don’t have these extensions installed or enabled. You’ll receive a message similar to the following:

The compatibility-test.php file is also updated to reflect the correct dependencies.