PHPackages                             huuuk/phalcon-queues - 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. huuuk/phalcon-queues

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

huuuk/phalcon-queues
====================

0.1.2(9y ago)32.7k↓50%MITPHPPHP &gt;=5.4.0

Since Jul 19Pushed 9y ago2 watchersCompare

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

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

Advanced Queues for Phalcon PHP Framework
=========================================

[](#advanced-queues-for-phalcon-php-framework)

1. [Instalation](#instalation)
2. [Configuration](#configuration)
3. [Drivers](#drivers)
4. [Usage](#usage)
5. [Pushing Jobs](#pushing-jobs)
6. [Worker](#worker)
7. [Todo](#todo)

\##Instalation Install via Composer.

```
"require": {
    "huuuk/phalcon-queues": "^0.1"
}
```

\##Configuration ####Settings First off all you should deside which \[driver\] suits you best.
Then add appropriate settings in your `config.ini` file. ####Registering service Usually it happens in `app/config/services.php` file.

```
use Huuuk\Queues\QueueManager;

// other services

$queueManager = new QueueManager($config);
$di->set('queue', $queueManager->getQueue());
```

Since Phalcon web and console applications has different bootstrap points, you should register queue in your console app bootstrap file too.

> How to set up cli application?
> You can look over official [docs](https://docs.phalconphp.com/en/latest/reference/cli.html)
> Also we have an [example](https://github.com/huuuk/phalcon-queues/tree/master/examples/cli) for you.

\####Console command Make `QueueTask` class and place it in `app/tasks` directory

> Don't forget to include this directory in autoloader of your console app

```
