PHPackages                             kicken/gearman-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. kicken/gearman-php

ActiveLibrary

kicken/gearman-php
==================

A PHP implementation of the Gearman protocol.

1.4.0(7y ago)1660.6k↓27.9%61MITPHPPHP &gt;=5.4.0

Since Apr 20Pushed 8mo ago4 watchersCompare

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

READMEChangelogDependenciesVersions (7)Used By (1)

Gearman-PHP
===========

[](#gearman-php)

This library provides a pure PHP implementation of the gearman protocol for creating clients and workers. It provides an alternative to the PHP extension which is not always available.

This library is not a replacement for the existing extension. This library provides an alternative and incompatible API.

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

[](#installation)

Simply require the kicken/gearman-php package with composer to install the latest version.

```
composer require kicken/gearman-php

```

Quick start guide
-----------------

[](#quick-start-guide)

Below is a quick start guide to setting up workers, submitting jobs, and getting a jobs status. For full details about the API's available, dig into the source code and have a look around.

### Workers

[](#workers)

Creating workers involves registering different callback functions with an instance of the Worker class and then calling the work method to start accepting and performing work. For example:

```
