library sidekiq-job-pusher
PHP client to interface with Sidekiq
musicglue/sidekiq-job-pusher
PHP client to interface with Sidekiq
- Thursday, November 7, 2013
- by tomdmaguire
- Repository
- 11 Watchers
- 15 Stars
- 12,554 Installations
- PHP
- 1 Dependents
- 1 Suggesters
- 8 Forks
- 2 Open issues
- 1 Versions
- 1 % Grown
$redis = new Predis\Client();
$sidekiq = new SidekiqJobPusher\Client($redis);
$sidekiq->perform('TestWorker');
Advanced usage:, (*1)
$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);
dev-master
9999999-dev
PHP client to interface with Sidekiq
Sources
Download
The Requires
The Development Requires