PHPackages                             retrinko/cottontail - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. retrinko/cottontail

ActiveLibrary[HTTP &amp; Networking](/categories/http)

retrinko/cottontail
===================

RabbitMQ basic communication patterns

v0.3(10y ago)3224[1 issues](https://github.com/retrinko/cottontail/issues)MITPHPPHP &gt;=5.4.0

Since Jul 7Pushed 9y agoCompare

[ Source](https://github.com/retrinko/cottontail)[ Packagist](https://packagist.org/packages/retrinko/cottontail)[ RSS](/packages/retrinko-cottontail/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (6)Dependencies (5)Versions (8)Used By (0)

retrinko/cottontail
===================

[](#retrinkocottontail)

**retrinko/cottontail** is a wrapper for [php-amqplib/php-amqplib](https://github.com/php-amqplib/php-amqplib) and provides implementations for some basic comunication patterns as:

- Publisher
- Subscriber
- RPC-Server
- RPC-Client

Installation
------------

[](#installation)

Install the latest version with

```
$ composer require retrinko/cottontail

```

Samples
-------

[](#samples)

- Publisher: [view sample](https://github.com/retrinko/cottontail/blob/master/samples/publisher.php)
- Subscriber: [view sample](https://github.com/retrinko/cottontail/blob/master/samples/subscriber.php)
- RPC Server: [view sample](https://github.com/retrinko/cottontail/blob/master/samples/rpc/server.php)
- RPC Client: [view sample](https://github.com/retrinko/cottontail/blob/master/samples/rpc/client.php)

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity14

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

Every ~4 days

Total

6

Last Release

3670d ago

Major Versions

v0.3 → v1.0.0-beta.12016-07-27

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17164968?v=4)[Miguel A. Graña](/maintainers/retrinko)[@retrinko](https://github.com/retrinko)

---

Top Contributors

[![retrinko](https://avatars.githubusercontent.com/u/17164968?v=4)](https://github.com/retrinko "retrinko (62 commits)")

---

Tags

patternsrabitmq

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/retrinko-cottontail/health.svg)

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

###  Alternatives

[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k886.6M9.6k](/packages/symfony-http-kernel)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k347.8M5.6k](/packages/symfony-http-client)[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k148.6M670](/packages/zircote-swagger-php)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.5M254](/packages/api-platform-metadata)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k20](/packages/tempest-framework)

PHPackages © 2026

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