Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

spinx/symfony2-sidekiq-example-app

Repository files navigation

symfony2-sidekiq-example-app

What is it ?

Generate Sidekiq workers from symfony2 services, queue jobs and let Sidekiq process them by calling worker:exec command.

Setup

composer install
gem install bundler
bundle install

Redis Configuration

app/config/services.yml

Pushing to a queue

https://github.com/spinx/symfony2-sidekiq-example-app/blob/master/src/DLabs/UserBundle/Command/UserEnqueueCommand.php

Queue handler

https://github.com/spinx/symfony2-sidekiq-example-app/blob/master/src/DLabs/UserBundle/Resources/config/queue_handler.yml

Running Sidekiq

Run Sidekiq

bin/sidekiq

Run Sidekiq web interface

bin/sidekiq-web

License

MIT. Use as you wish. Let me know if you find it useful!

About

Example for executing sf2 services with Sidekiq

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published