Awesome Open Source
Awesome Open Source

sidekiq-job-php

Build Status Scrutinizer Code Quality

Push and schedule jobs to Sidekiq from PHP

Installation

The recommended way to install this library is through Composer. Require the spinx/sidekiq-job-php package into your composer.json file:

{
    "require": {
        "spinx/sidekiq-job-php": "*"
    }
}

Important: you should browse spinx/sidekiq-job-php to choose the latest version, avoid the * meta constraint.

Usage

$redis = new Predis\Client('tcp://127.0.0.1:6379');

$client = new \SidekiqJob\Client($redis);

$client->push('ProcessImage', ['argument1']);

More examples here.

Misc

Requirements

  • PHP >=5.4

Todo

  • Monolog support
  • Statsd or similar support

Standards

Symfony2.

License

MIT. Use it as you wish.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
php (15,969
redis (907
queue (167
workers (51
worker (36
sidekiq (30

Find Open Source By Browsing 7,000 Topics Across 59 Categories