Skip to content

musicglue/sidekiq-job-pusher

Repository files navigation

Basic usage:

$redis = new Predis\Client();

$sidekiq = new SidekiqJobPusher\Client($redis);

$sidekiq->perform('TestWorker');

Advanced usage:

$redis = new Predis\Client(array(
	'host' => 'localhost',
	'port' => '6379',
	'database' => 12,
));

$sidekiq = new SidekiqJobPusher\Client($redis, 'my-namespace');

$args = array('arg1', 'arg2');
$retry = true;
$queue = 'my-queue';

$sidekiq->perform('TestWorker', $args, $retry, $queue);

About

PHP client to interface with Sidekiq

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages