![Gitter](https://badges.gitter.im/Join Chat.svg)
This package provides support for using Amazon SimpleDB and Amazon Import/Export with version 3 of the AWS SDK for PHP. It depends on the AWS SDK for PHP v3 and allows users to construct SimpleDb and Import/Export clients as they would any other v3 service:
<?php
$sdb = new \Aws\SimpleDb\SimpleDbClient([
'region' => 'us-east-1',
'version' => 'latest',
]);
$domains = $sdb->listDomains();
Please note that you cannot use the Aws\Sdk
service locator with SimpleDb or
Import/Export. You must create clients using the new
keyword.
This package can be installed via Composer by requiring the
aws/aws-sdk-php-v3-bridge
package in your project's composer.json
.
{
"require": {
"aws/aws-sdk-php-v3-bridge": "~1.0"
}
}
Then run a composer update
php composer.phar update