PHPackages                             sadovnik/beanstalk-yii2 - 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. [Framework](/categories/framework)
4. /
5. sadovnik/beanstalk-yii2

ActiveLibrary[Framework](/categories/framework)

sadovnik/beanstalk-yii2
=======================

Beanstalk component for Yii Framework 2

1.0.0(9y ago)019MITPHPPHP &gt;=5.4.0

Since Dec 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sadovnik/yii2-beanstalk)[ Packagist](https://packagist.org/packages/sadovnik/beanstalk-yii2)[ RSS](/packages/sadovnik-beanstalk-yii2/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

> This is a temporary fork of

\#Beanstalk Worker App for Yii2

What is it?
-----------

[](#what-is-it)

Queries is important part for any big project. I used Gearman for years in my past projects and when I started develop hotwork.ru I read a lot of articles about different query system. Finnaly I chosed beanstalk - It was inspired by memcache protocol, it's simple, fast and stable. Beanstalk works at my server more than three month without restarting. For rabbitmq it will be unbelievable.

How to install
--------------

[](#how-to-install)

Install it by composer, add to composer.json

```
"sergebezborodov/beanstalk-yii2": "dev-master"

```

How to configure
----------------

[](#how-to-configure)

For work with any query system you must create worker application. It must work permanently (at screen or supervisor) and listeting beastalk server. Client application set task to server and server call worker application for execution.

Create worker file, same as console:

```
#!/usr/bin/env php
