PHPackages                             terentev-space/kithook-php-rabbitmq - 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. terentev-space/kithook-php-rabbitmq

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

terentev-space/kithook-php-rabbitmq
===================================

RabbitMq PHP Client for KitHook

0.1.2(4y ago)08Apache-2.0PHPPHP &gt;=7.1

Since May 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/terentev-space/kithook-php-rabbitmq)[ Packagist](https://packagist.org/packages/terentev-space/kithook-php-rabbitmq)[ Docs](https://github.com/terentev-space/kithook-php-rabbitmq)[ RSS](/packages/terentev-space-kithook-php-rabbitmq/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (4)Versions (5)Used By (0)

KitHook PHP RabbitMQ
====================

[](#kithook-php-rabbitmq)

[![Latest Version](https://camo.githubusercontent.com/1b5b1da74ac95c1786099ceb579ae46c4e967e53abe5172f56fdadb63a042511/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f746572656e7465762d73706163652f6b6974686f6f6b2d7068702d7261626269746d712e7376673f7374796c653d666c61742d737175617265)](https://github.com/terentev-space/kithook-php-rabbitmq/releases)[![Software License](https://camo.githubusercontent.com/effa8235d7eba5e273e8712a2c110b76565138e21b71cdd10ea6082613f07943/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4170616368655f322e302d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/2a0677dd4c1dc5585ad5866c5148e3603e3be94e68940e27baad34aff3971ba0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746572656e7465762d73706163652f6b6974686f6f6b2d7068702d7261626269746d712e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/terentev-space/kithook-php-rabbitmq)

#### 🚧 Attention: the project is currently under development! 🚧

[](#-attention-the-project-is-currently-under-development-)

**Note:** Before using it, you need to deploy and configure [KitHook](https://github.com/terentev-space/kithook)

This project acts as an extension of [kithook-php](https://github.com/terentev-space/kithook-php) and allows you to use the RabbitMq queue manager to send messages to [KitHook](https://github.com/terentev-space/kithook)

Install
-------

[](#install)

Via Composer

```
$ composer require terentev-space/kithook-php-rabbitmq
```

Usage
-----

[](#usage)

Data:

```
$yourWebhookUri = 'https://example.com';
$yourWebhookId = 'myId-123';

$yourElseContentType = 'application/xml';

// Json
$yourWebhookJsonData = [
    'anything'
];
// Form
$yourWebhookFormData = [
    'param1' => 'value1',
];
// Query
$yourWebhookQueryData = [
    'param1' => 'value1',
];
// Xml
$yourWebhookXmlData =  5672,
    \KitHookRabbit\Client::CONFIG_RABBIT_LOGIN => 'guest',
    \KitHookRabbit\Client::CONFIG_RABBIT_PASSWORD => 'guest',
    \KitHookRabbit\Client::CONFIG_RABBIT_QUEUE => 'kithook',
    \KitHookRabbit\Client::CONFIG_RABBIT_VHOST => '/',
];
```

Examples:

```
$client = isset($yourClientConfig) ?
new \KitHookRabbit\Client($yourClientConfig) : // Use config
new \KitHookRabbit\Client(); // Use env

// Simple HTTP Put Json
$client->sendHttpPutJson($yourWebhookUri, $yourWebhookJsonData, $yourWebhookId);
// Simple HTTP Post Form
$client->sendHttpPostForm($yourWebhookUri, $yourWebhookFormData, $yourWebhookId);
// Simple HTTP Get Query
$client->sendHttpGetEmpty($yourWebhookUri . '?' . http_build_query($yourWebhookQueryData), $yourWebhookId);

// Build
$content = $client->contentBuilder()->makeHttp()
    // OR
    ->withType(\KitHook\Entities\Messages\Contents\QueueHttpMessageContent::TYPE_ELSE)
    ->withData($yourWebhookXmlData)
    ->withFormatForElseType($yourElseContentType)
    // OR
    ->fillElse($yourWebhookXmlData, $yourElseContentType)
    // FINALLY
    ->build();

$message = $client->messageBuilder()->makeHttp()
    // OR
    ->withId($yourWebhookId)
    ->withUri($yourWebhookUri)
    ->withMethod(\KitHook\Entities\Messages\QueueHttpMessage::METHOD_POST)
    ->withContent($content)
    // OR
    ->fillPost($yourWebhookUri, $yourWebhookId, $content, [/* headers */], [/* properties */])
    // OR
    ->fillPost($yourWebhookUri, $yourWebhookId)
    ->makeContent()
    ->fillForm($yourWebhookFormData)
    ->buildFromMessage()
    // FINALLY
    ->build();

$client->send($message);
```

Credits
-------

[](#credits)

- [Ivan Terentev](https://github.com/terentev-space)
- [All Contributors](https://github.com/terentev-space/kithook-php-rabbitmq/contributors)

License
-------

[](#license)

The Apache 2.0 License (Apache-2.0). Please see [License File](LICENSE) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

3

Last Release

1815d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4afdc3f257a628f254362fec69d58dc8d6dfe8ecf2b326e845d992f02495a001?d=identicon)[terentev-space](/maintainers/terentev-space)

---

Top Contributors

[![terentev-space](https://avatars.githubusercontent.com/u/26274186?v=4)](https://github.com/terentev-space "terentev-space (7 commits)")

---

Tags

MQwebhookrabbitkitkithook

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/terentev-space-kithook-php-rabbitmq/health.svg)

```
[![Health](https://phpackages.com/badges/terentev-space-kithook-php-rabbitmq/health.svg)](https://phpackages.com/packages/terentev-space-kithook-php-rabbitmq)
```

###  Alternatives

[usmonaliyev/laravel-simple-rabbitmq

This package provides simple usage of rabbitmq.

778.7k](/packages/usmonaliyev-laravel-simple-rabbitmq)[prolic/humus-amqp

PHP-AMQP library with RabbitMQ Extensions

76205.4k5](/packages/prolic-humus-amqp)[kdyby/rabbitmq

Integrates php-amqplib with RabbitMq and Nette Framework

30693.1k4](/packages/kdyby-rabbitmq)[sobirjonovs/laravel-rabbit

Easy tool for working with RabbitMQ

111.6k](/packages/sobirjonovs-laravel-rabbit)

PHPackages © 2026

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