guzzle/guzzle-aws

Guzzle PHP client for AWS

2.0.0-alpha 2012-08-15 22:21 UTC

README

Interact with various Amazon Web Services APIs using the Guzzle framework for building RESTful web service clients in PHP.

  • Amazon S3
  • Amazon SQS
  • Amazon SimpleDB
  • Amazon MWS

Installation

Add guzzle-aws to the src/Guzzle/Aws directory of your Guzzle installation:

cd /path/to/guzzle
git submodule add git://github.com/guzzle/guzzle-aws.git ./src/Guzzle/Aws

You can now build a phar file containing guzzle-aws and the main guzzle framework:

cd /path/to/guzzle/build
phing phar

Now you just need to include guzzle.phar in your script. The phar file will take care of autoloading Guzzle classes:

<?php
require_once 'guzzle.phar';

Testing

Copy phpunit.xml.dist to phpunit.xml. Enter the full path to your Guzzle installation in the GUZZLE server parameter of the phpunit.xml file.

More information