PHPackages                             zircote/amqp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. zircote/amqp

ArchivedLibrary[Queues &amp; Workers](/categories/queues)

zircote/amqp
============

This library is a PHP implementation of the AMQP protocol.

1.0.3(12y ago)229.8k4[1 issues](https://github.com/zircote/AMQP/issues)LGPL-2.1PHPPHP &gt;=5.3.0

Since Nov 4Pushed 12y ago1 watchersCompare

[ Source](https://github.com/zircote/AMQP)[ Packagist](https://packagist.org/packages/zircote/amqp)[ Docs](https://github.com/zircote/AMQP)[ RSS](/packages/zircote-amqp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

AMQP
====

[](#amqp)

[![Build Status](https://camo.githubusercontent.com/03afb55409f05383c19024481fcc99d4908ec0418534c4b4f47edc8d0a55f417/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7a6972636f74652f414d51502e706e67)](http://travis-ci.org/zircote/AMQP)

Setup
=====

[](#setup)

**git**

```
`git clone git://github.com/zircote/AMQP.git`

```

**composer**

```
{
  "require": [
    "zircote/amqp": "master-dev"
  ]
}
```

`composer install`

Usage
=====

[](#usage)

host is defined by passing a URN string as first connection parameter:

```
`amqp://user:pass@hostname:port/vhost`
`amqps://user:pass@hostname:port/vhost`

```

connection options are passed as the second parameter of the connection:

```
