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
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';
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.
- See https://github.com/guzzle/guzzle for more information about Guzzle, a PHP framework for building RESTful webservice clients.