PHPackages                             xezzus/amqp-im - 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. xezzus/amqp-im

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

xezzus/amqp-im
==============

Send and take message to AMQP protocol

023PHP

Since Apr 15Pushed 11y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Мгновенные сообщения через AMQP
===============================

[](#мгновенные-сообщения-через-amqp)

Установка
---------

[](#установка)

Для работы с компонентом требуется установить библиотеку AMQP через PECL

[pecl amqp](https://pecl.php.net/package/amqp/1.6.0beta2)

Использование
-------------

[](#использование)

```
// подклimючение к точке обмена сообщениями
$im = Yii::$app->exchange('globalChat');

// Отправить сообщение в точку обмена
$im->send('Text message');

// Получить сообщение
$take = $im->take();

// Получить тело сообщения
$take->msg();

// Сообщение серверу, что сообщение обработано и его можно удалить из очереди
$take->ack();

```

Конфигурация
------------

[](#конфигурация)

```
"components"=>[
  "im"=>[
    'class' => 'common\components\im\Connection',
    'host'=>'127.0.0.1',
    'login'=>'guest',
    'password'=>'guest',
    'port'=>'5672'
  ]
]

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/238944?v=4)[Buturlakin Andrey](/maintainers/xezzus)[@xezzus](https://github.com/xezzus)

---

Top Contributors

[![xezzus](https://avatars.githubusercontent.com/u/238944?v=4)](https://github.com/xezzus "xezzus (3 commits)")

### Embed Badge

![Health badge](/badges/xezzus-amqp-im/health.svg)

```
[![Health](https://phpackages.com/badges/xezzus-amqp-im/health.svg)](https://phpackages.com/packages/xezzus-amqp-im)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2228.8M171](/packages/react-async)[react/promise-stream

The missing link between Promise-land and Stream-land for ReactPHP

11512.9M45](/packages/react-promise-stream)[illuminate/bus

The Illuminate Bus package.

6043.8M409](/packages/illuminate-bus)

PHPackages © 2026

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