spinx / sidekiq-job-php
Push and schedule jobs to Sidekiq from PHP
Installs: 151 481
Dependents: 0
Suggesters: 0
Security: 0
Stars: 37
Watchers: 5
Forks: 12
Open Issues: 1
Requires
- php: >=5.4
- predis/predis: ^1.0
Requires (Dev)
- leanphp/phpspec-code-coverage: ^4.0
- m6web/redis-mock: ^2.2
- phpspec/phpspec: ^4.3.0
This package is not auto-updated.
Last update: 2024-11-09 18:01:19 UTC
README
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
License
MIT. Use it as you wish.