Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.03 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.03 KB

Guzzle AWS Web Service Clients for PHP

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