安装

Installing via Composer

Install Composer

    curl -sS https://getcomposer.org/installer | php

Run the Composer command to install the latest stable version of the SDK:

    php composer.phar require aws/aws-sdk-php

Require Composer's autoloader:

    <?php
    require 'vendor/autoload.php';

Installing via Phar

download phar

    http://docs.aws.amazon.com/aws-sdk-php/v3/download/aws.phar

import phar package