Push and schedule jobs to Sidekiq from PHP
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.
$redis = new Predis\Client('tcp://127.0.0.1:6379');
$client = new \SidekiqJob\Client($redis);
$client->push('ProcessImage', ['argument1']);More examples here.
- PHP >=5.4
- Monolog support
- Statsd or similar support
MIT. Use it as you wish.

