aws/aws-sdk-php-v3-bridge

A compatibility pack for using Amazon SimpleDB with v3 of the AWS SDK for PHP

0.2.0 2016-05-20 18:50 UTC

README

@awsforphp on Twitter Build Status Apache 2 License ![Gitter](https://badges.gitter.im/Join Chat.svg)

This package provides support for using Amazon SimpleDB with version 3 of the AWS SDK for PHP. It depends on the AWS SDK for PHP v3 and allows users to construct SimpleDb 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. You must create clients using the new keyword.

Installation

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": "^0.2.0"
    }
}

Then run a composer update

php composer.phar update

Links