PHPackages                             smuuf/celery-for-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. smuuf/celery-for-php

ActiveLibrary[Queues &amp; Workers](/categories/queues)

smuuf/celery-for-php
====================

A modern Celery client for modern PHP.

0.4(6mo ago)1912.8k↓35.3%5[1 PRs](https://github.com/smuuf/celery-for-php/pulls)MITPHPPHP &gt;=8.0CI passing

Since Oct 26Pushed 6mo ago3 watchersCompare

[ Source](https://github.com/smuuf/celery-for-php)[ Packagist](https://packagist.org/packages/smuuf/celery-for-php)[ RSS](/packages/smuuf-celery-for-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

celery-for-php 🌱
================

[](#celery-for-php-)

[![PHP tests](https://github.com/smuuf/celery-for-php/actions/workflows/php.yml/badge.svg)](https://github.com/smuuf/celery-for-php/actions/workflows/php.yml)

A modern PHP client library for [Celery - Distributed Task Queue](https://docs.celeryq.dev).

Requirements
------------

[](#requirements)

- PHP 8.0+

Installation
------------

[](#installation)

Install [celery-for-php](https://packagist.org/packages/smuuf/celery-for-php) via Composer.

```
composer require smuuf/celery-for-php
```

### Redis (Predis)

[](#redis-predis)

If you want to use Redis as a broker and/or result backend, celery-for-php contains a Redis driver backed by [`Predis`](https://github.com/predis/predis).

The Predis `Client` object then needs to be wrapped in our `Smuuf\CeleryForPhp\Drivers\PredisRedisDriver` driver object, which provides the necessary interface for celery-for-php's actual communication with Redis.

#### Example usage

[](#example-usage)

```
