photomania / gearman-l4
a GearmanClient wrapper for Laravel 4
Installs: 3 270
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: >=5.3.0
- illuminate/support: 4.*
Suggests
- ext-gearman: The Gearman PECL extension is needed for this package to work, but is listed as suggested to allow `composer install` on development machines.
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
.