PHPackages                             evilnet/queue-jobs-bundle - 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. [Caching](/categories/caching)
4. /
5. evilnet/queue-jobs-bundle

ActiveSymfony-bundle[Caching](/categories/caching)

evilnet/queue-jobs-bundle
=========================

Simple queue system like in Laravel for Symfony

1.0.1(7y ago)083MITPHPPHP &gt;=5.6

Since Jul 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/axotion/QueueJobsBundle)[ Packagist](https://packagist.org/packages/evilnet/queue-jobs-bundle)[ RSS](/packages/evilnet-queue-jobs-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

QueueJobsBundle
===============

[](#queuejobsbundle)

Jobs system like in Laravel now in Symfony 3.x!

About
-----

[](#about)

Are you tired of fancy rabbitmq configurations? Would you like such a simplicity of work as in Laravel? That's what this package is for! I created it for the ecommerce project to process simple tasks, but it may also be useful to you

Install
-------

[](#install)

```
composer require evilnet/queue-jobs-bundle

```

### Post-Install

[](#post-install)

Enable package in your AppKernel.php

```
 $bundles = [
                new Evilnet\QueueJobsBundle\QueueJobsBundle(),
            ];

```

And add these parameters to your parameters.yml

```
queue_redis_ip: 127.0.0.1 (usually)
queue_redis_port: 6379 (usually)
default_queue_name: default

```

And that's it! You can test it by running two commands in terminal

```
bin/console worker:start default

```

And then demo dispatcher

```
bin/console dispatch:test

```

You should see Hello World in terminal with worker

Example code
------------

[](#example-code)

Example Job Class

```
