An open API service indexing awesome lists of open source software.

https://github.com/spinx/sidekiq-job-php

Push and schedule jobs to Sidekiq from PHP
https://github.com/spinx/sidekiq-job-php

php queue queueing redis sidekiq worker workers

Last synced: about 1 month ago
JSON representation

Push and schedule jobs to Sidekiq from PHP

Awesome Lists containing this project

README

          

# sidekiq-job-php

[![Build Status](https://scrutinizer-ci.com/g/spinx/sidekiq-job-php/badges/build.png?b=master)](https://scrutinizer-ci.com/g/spinx/sidekiq-job-php/build-status/master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/spinx/sidekiq-job-php/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/spinx/sidekiq-job-php/?branch=master)

Push and schedule jobs to Sidekiq from PHP

## Installation

The recommended way to install this library is through
[Composer](http://getcomposer.org/). Require the `spinx/sidekiq-job-php` package
into your `composer.json` file:

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

**Important:** you should browse [`spinx/sidekiq-job-php`](https://packagist.org/packages/spinx/sidekiq-job-php) to choose the latest version, avoid the `*` meta constraint.

## Usage

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

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

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

More examples [here](https://github.com/spinx/sidekiq-job-php/tree/master/examples).

## Misc

### Requirements
- PHP >=5.4

### Todo
- Monolog support
- Statsd or similar support

### Standards
[Symfony2](https://github.com/escapestudios/Symfony2-coding-standard).

### License
MIT. Use it as you wish.