Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

217 lines (207 sloc) 8.804 kb
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.0" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>Services_Amazon_SQS</name>
<channel>pear.php.net</channel>
<summary>PHP API and tools for Amazon SQS (Simple Queue Service)</summary>
<description>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&apos;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 &quot;php-xml&quot; 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 &quot;sqs&quot;. Running this command produces the following output:
A command-line interface to Amazon&apos;s Simple Queue Service (SQS).
Usage:
/usr/bin/sqs [options]
/usr/bin/sqs [options] &lt;command&gt; [options] [args]
Options:
-c config, --config=config Find configuration in &quot;config&quot;.
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.</description>
<lead>
<name>Mike Gauthier</name>
<user>gauthierm</user>
<email>mike@silverorange.com</email>
<active>yes</active>
</lead>
<lead>
<name>Mike Brittain</name>
<user>mikebrittain</user>
<email>mike@mikebrittain.com</email>
<active>yes</active>
</lead>
<date>2009-11-24</date>
<time>11:50:09</time>
<version>
<release>0.3.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</license>
<notes>
* Upgrade to the SQS API version 2009-02-01.
* Support new SQS features. Request #16085.
* Better unit tests.
* End user documentation on the PEAR website.
* Depend on Console_CommandLine for the CLI utility.
* Handle internal errors automatically. Request #16824.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
<dir name="cfg">
<file baseinstalldir="/" name="sqs-win.ini" role="cfg">
<tasks:windowseol />
</file>
<file baseinstalldir="/" name="sqs.ini" role="cfg" />
</dir> <!-- /cfg -->
<dir name="data">
<file baseinstalldir="/" name="cli.xml" role="data">
<tasks:replace from="@package-version@" to="version" type="package-info" />
</file>
</dir> <!-- /data -->
<dir name="scripts">
<file baseinstalldir="/" name="sqs" role="script">
<tasks:replace from="@php-bin@" to="php_bin" type="pear-config" />
</file>
<file baseinstalldir="/" name="sqs.bat" role="script">
<tasks:replace from="@php-bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@bin-dir@" to="bin_dir" type="pear-config" />
<tasks:replace from="@php-dir@" to="php_dir" type="pear-config" />
<tasks:windowseol />
</file>
</dir> <!-- /scripts -->
<dir name="Services">
<dir name="Amazon">
<dir name="SQS">
<file baseinstalldir="/" name="Account.php" role="php" />
<file baseinstalldir="/" name="CLI.php" role="php">
<tasks:replace from="@package-name@" to="name" type="package-info" />
<tasks:replace from="@data-dir@" to="data_dir" type="pear-config" />
</file>
<file baseinstalldir="/" name="Exceptions.php" role="php" />
<file baseinstalldir="/" name="Queue.php" role="php" />
<file baseinstalldir="/" name="QueueManager.php" role="php" />
<file baseinstalldir="/" name="Response.php" role="php" />
</dir> <!-- /Services/Amazon/SQS -->
<file baseinstalldir="/" name="SQS.php" role="php">
<tasks:replace from="@api-version@" to="api-version" type="package-info" />
<tasks:replace from="@name@" to="name" type="package-info" />
</file>
</dir> <!-- /Services/Amazon -->
</dir> <!-- /Services -->
<dir name="tests">
<file baseinstalldir="/" name="AddPermissionTestCase.php" role="test" />
<file baseinstalldir="/" name="AllTests.php" role="test" />
<file baseinstalldir="/" name="ChangeMessageVisibilityTestCase.php" role="test" />
<file baseinstalldir="/" name="ConstructTestCase.php" role="test" />
<file baseinstalldir="/" name="CreateQueueTestCase.php" role="test" />
<file baseinstalldir="/" name="DeleteMessageTestCase.php" role="test" />
<file baseinstalldir="/" name="DeleteQueueTestCase.php" role="test" />
<file baseinstalldir="/" name="ExceptionsTestCase.php" role="test" />
<file baseinstalldir="/" name="GetAttributesTestCase.php" role="test" />
<file baseinstalldir="/" name="ListQueuesTestCase.php" role="test" />
<file baseinstalldir="/" name="ReceiveMessageTestCase.php" role="test" />
<file baseinstalldir="/" name="RemovePermissionTestCase.php" role="test" />
<file baseinstalldir="/" name="ResponseTestCase.php" role="test" />
<file baseinstalldir="/" name="SendMessageTestCase.php" role="test" />
<file baseinstalldir="/" name="SetAttributesTestCase.php" role="test" />
<file baseinstalldir="/" name="TestCase.php" role="test" />
</dir> <!-- /tests -->
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>5.2.1</min>
</php>
<pearinstaller>
<min>1.7.0</min>
</pearinstaller>
<package>
<name>PEAR</name>
<channel>pear.php.net</channel>
</package>
<package>
<name>Console_CommandLine</name>
<channel>pear.php.net</channel>
<min>1.1.0</min>
</package>
<package>
<name>Crypt_HMAC2</name>
<channel>pear.php.net</channel>
<min>0.2.1</min>
</package>
<package>
<name>Net_URL2</name>
<channel>pear.php.net</channel>
<min>0.2.0</min>
</package>
<package>
<name>HTTP_Request2</name>
<channel>pear.php.net</channel>
<min>0.1.0</min>
</package>
</required>
</dependencies>
<phprelease>
<installconditions>
<os>
<name>windows</name>
</os>
</installconditions>
<filelist>
<install as="sqs" name="scripts/sqs" />
<install as="sqs.bat" name="scripts/sqs.bat" />
<install as="sqs.ini" name="cfg/sqs-win.ini" />
<ignore name="cfg/sqs.ini" />
</filelist>
</phprelease>
<phprelease>
<filelist>
<install as="sqs" name="scripts/sqs" />
<install as="sqs.ini" name="cfg/sqs.ini" />
<ignore name="scripts/sqs.bat" />
<ignore name="cfg/sqs-win.ini" />
</filelist>
</phprelease>
<changelog>
<release>
<version>
<release>0.3.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2009-11-24</date>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</license>
<notes>
* Upgrade to the SQS API version 2009-02-01.
* Support new SQS features. Request #16085.
* Better unit tests.
* End user documentation on the PEAR website.
* Depend on Console_CommandLine for the CLI utility.
* Handle internal errors automatically. Request #16824.
</notes>
</release>
</changelog>
</package>
Jump to Line
Something went wrong with that request. Please try again.