PHPackages                             markdunphy/ears - 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. markdunphy/ears

ActiveLibrary

markdunphy/ears
===============

A PHP RabbitMQ library using php-amqplib

0.1.0(11y ago)010PHP

Since Jul 23Pushed 11y agoCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Ears [![Build Status](https://camo.githubusercontent.com/4816df6b5f64b4d307d6a54b34e3e1a7d5d1c83385cc88c3e4b7b90806da13a9/68747470733a2f2f7472617669732d63692e6f72672f6d61726b64756e7068792f656172732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/markdunphy/ears)
=================================================================================================================================================================================================================================================================================

[](#ears-)

A PHP RabbitMQ library using php-amqplib

\##Basic Usage These examples use the default `localhost` RabbitMQ server created when you install it. For production use (and you're crazy if you're doing this), you should configure a `markdunphy\Ears\Connection` object to pass in as the first argument to the `markdunphy\Ears\Ears` constructor.

Below is a simple `hello world` demonstration. Run the consumer code in one terminal tab and the publisher in another to watch things happen.

\#####Configuring a Consumer

```
use \markdunphy\Ears\Ears;

$consumer = ( new Ears )->getConsumer();

$consumer->consumeBasic( 'hello', function( $message ) {
  echo $message->body . "\n";
} );
```

\#####Configuring a Publisher

```
use \markdunphy\Ears\Ears;

$ears = new Ears( null, 'hello' );

$publisher = $ears->getPublisher();

$publisher->sendBasic( 'Hello world' );
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4309d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e2814e0e41ec2615a0845ea09894b11bddf6eb60fc5febe516487e7e45a832ca?d=identicon)[markdunphy](/maintainers/markdunphy)

---

Top Contributors

[![marknotfound](https://avatars.githubusercontent.com/u/1442186?v=4)](https://github.com/marknotfound "marknotfound (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/markdunphy-ears/health.svg)

```
[![Health](https://phpackages.com/badges/markdunphy-ears/health.svg)](https://phpackages.com/packages/markdunphy-ears)
```

###  Alternatives

[webtoucher/yii2-amqp

Yii 2 extension wrapper to communicate with RabbitMQ server via AMQP. Based on videlalvaro/php-amqplib.

60133.5k1](/packages/webtoucher-yii2-amqp)[amplifier/yii-amqp

AMQP adapter for Yii

2237.0k](/packages/amplifier-yii-amqp)[c-datculescu/amqp-base

Allows easy declaration and management of complex AMQP configurations

1268.1k](/packages/c-datculescu-amqp-base)[sweatshop/sweatshop

Abstraction layer for message brokers and job servers, including process management

1112.3k](/packages/sweatshop-sweatshop)[ebeyrent/mopsy

AMQP Tools

171.4k](/packages/ebeyrent-mopsy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
