[ANNOUNCEMENT] Services_Amazon_SQS-0.2.0 (beta) Released.
| From: | PEAR Announce | Date: | Fri, 19 Jun 2009 14:15:16 +0000 |
| Subject: | [ANNOUNCEMENT] Services_Amazon_SQS-0.2.0 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-29893@lists.php.net to get a copy of this message | ||
The new PEAR package Services_Amazon_SQS-0.2.0 (beta) has been released at http://pear.php.net/.
Release notes
-------------
Second PEAR release
* Implemented Req #15431. Added send and receive commands to the command-line interface
* Implemented Req #15451. Use mock-http requests in unit tests
* Increased test coverage
* Implemented Req #15430. Use Console_CommandLine for command-line interface
* Implemented Req #15432. Use Amazon Signature Version 2. See http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1928
Package Info
------------
This package provides an object-oriented interface to the Amazon Simple Queue Service (SQS).
Included are client libraries and a command-line script for managing queues. You will need a set of
web-service keys from Amazon Web Services that have SQS enabled. You can sign up for an account at:
https://aws-portal.amazon.com/gp/aws/developer/registration/index.html.
Note: Although this package has no cost, Amazon's Web services are not free to use. You will be
billed by Amazon for your use of SQS.
This package is derived with permission from the simple-aws package available at http://code.google.com/p/simple-aws/ and written by
Mike Brittain.
This package requires PHP 5.2.1. On Red Hat flavored distributions, the "php-xml" package
must also be installed.
There are two main ways to use this package. Firstly, it provides an API that may be used to manage
queues, and to add and remove messages from queues in PHP scripts. The
Services_Amazon_SQS_QueueManager and Services_Amazon_SQS_Queue classes provide these methods.
Secondly, a command-line application for managing SQS queues is provided. This is installed by PEAR
as "sqs". Running this command produces the following output:
A command-line interface to Amazon's Simple Queue Service (SQS).
Usage:
/usr/bin/sqs [options]
/usr/bin/sqs [options] <command> [options] [args]
Options:
-c config, --config=config Find configuration in "config".
Commands:
create Creates a new queue with the specified name. The queue may
take up to 60 seconds to become available.
delete Deletes an existing queue by the specified URI. The queue
may take up to 60 seconds to become unavailable.
help Displays an overview of available options and commands, or
detailed help for a specific command.
list Lists available queues. If a prefix is specified, only
queues beginning with the specified prefix are listed.
send Sends input from STDIN to the specified queue. The
resulting message identifier is displayed on STDOUT.
receive Receives a message from the specified queue. The message
body is displayed on STDOUT. If no message is received,
nothing is displayed on STDOUT.
version Displays version information and exits.
Related Links
-------------
Package home: http://pear.php.net/package/Services_Amazon_SQS
Changelog: http://pear.php.net/package/Services_Amazon_SQS/download/0.2.0
Download: http://download.pear.php.net/package/Services_Amazon_SQS-0.2.0.tgz
Authors
-------
Michael Gauthier (lead)
Mike Brittain (lead)