PHPackages                             mamatveev/yii2-rabbitmq-rpc - 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. [API Development](/categories/api)
4. /
5. mamatveev/yii2-rabbitmq-rpc

ActiveYii2-extension[API Development](/categories/api)

mamatveev/yii2-rabbitmq-rpc
===========================

Yii2 rpc client and server classes

33.1k1PHP

Since Mar 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/m-matveev/yii2-rabbitmq-rpc)[ Packagist](https://packagist.org/packages/mamatveev/yii2-rabbitmq-rpc)[ RSS](/packages/mamatveev-yii2-rabbitmq-rpc/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 RabbitMQ RPC component
===========================

[](#yii2-rabbitmq-rpc-component)

The component is designed to quickly and easily start using the RabbitMQ queue server in the yii2 application. Parallel execution of tasks is the main goal of its creation.

INSTALLATION
------------

[](#installation)

```
composer require mamatveev/yii2-rabbitmq-rpc:@dev
```

Add a component configuration in the application config:

```
return [
    'components' => [
        'rpc' => [
            'class' => 'mamatveev\yii2rabbitmq\RabbitComponent',
            'host' => '127.0.0.1',
            'port' => 5672,
            'user' => 'guest',
            'password' => 'guest'
        ],
];
```

USAGE
-----

[](#usage)

To test the capabilities of a component, create a simple console controller

```
