AWS SDK for PHP Version 2
Migration Guide
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

What's New?

The following list describes new features that have been implemented in the AWS SDK for PHP 2.

  • PHP 5.3 namespaces

  • Follows PSR-0, PSR-1, and PSR-2 standards

  • Built on Guzzle and utilizes the Guzzle feature set

  • Persistent connection management for both serial and parallel requests

  • Event hooks (via Symfony2 EventDispatcher) for event-driven, custom behavior

  • Request and response entity bodies are stored in php://temp streams to reduce memory usage

  • Transient networking and cURL failures are automatically retried using truncated exponential backoff

  • Plug-ins for over-the-wire logging and response caching

  • "Waiter" objects that allow you to poll a resource until it is in a desired state

  • Resource iterator objects for easily iterating over paginated responses

  • Service-specific sets of exceptions

  • Modeled responses with a simpler interface

  • Grouped constants (Enums) for service parameter options

  • Flexible request batching system

  • Service builder/container that supports easy configuration and dependency injection

  • Full unit test suite with extensive code coverage

  • Composer support (including PSR-0 compliance) for installing and autoloading SDK dependencies

  • Phing build.xml for installing dev tools, driving testing, and producing .phar files

  • Powerful Amazon DynamoDB batch write system

  • Powerful Amazon Simple Storage Service (Amazon S3) and Amazon Glacier multipart upload system

  • Redesigned DynamoDB Session Handler

  • Improved multi-region support