photomania/gearman-l4

a GearmanClient wrapper for Laravel 4

dev-master 2013-12-15 09:30 UTC

This package is not auto-updated.

Last update: 2024-11-18 14:15:56 UTC


README

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.