photomania / gearman-l4 by Bartzy

a GearmanClient wrapper for Laravel 4
3,270
12
4
Package Data
Maintainer Username: Bartzy
Maintainer Contact: bar@photomania.net (Bar Ziony)
Package Create Date: 2013-05-28
Package Last Update: 2013-12-15
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 03:00:14
Package Statistics
Total Downloads: 3,270
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 12
Total Watchers: 4
Total Forks: 1
Total Open Issues: 0

Gearman-L4

Gearman-L4 is a GearmanClient (PECL extension) wrapper for Laravel 4. It does not add functionality and only exposes the native GearmanClient instance from the PECL extension to the Laravel application.

Installation

Add photomania/gearman-l4 as a requirement to composer.json:

{
    "require": {
        "photomania/gearman-l4": "dev-master"
    }
}

And then run composer update photomania/gearman-l4.

Once Composer has installed the packages it needs, you need to register Gearman-L4 with your Laravel application. Open up app/config/app.php, find the providers key and add:

'Photomania\GearmanL4\GearmanL4ServiceProvider'

Configuration

You can alter configuration options (such as server hostnames and ports) by publishing the config file.

php artisan config:publish photomania/gearman-l4

This will copy the default configuration file to app/config/packages/photomania/gearman-l4/config.php.