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(9y 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 today

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 31% 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

3625d 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.1k853.6M8.3k](/packages/symfony-http-kernel)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k330.1M4.6k](/packages/symfony-http-client)[zircote/swagger-php

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

5.3k140.4M555](/packages/zircote-swagger-php)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.4k66.1M254](/packages/nelmio-api-doc-bundle)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[magento/community-edition

Magento 2 (Open Source)

12.1k53.0k12](/packages/magento-community-edition)

PHPackages © 2026

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