Skip to content

sergiors/pheanstalk-service-provider

Repository files navigation

Pheanstalk Service Provider

Build Status

To see the complete documentation, check out LeezyPheanstalkBundle

Install

composer require sergiors/pheanstalk-service-provider "dev-master"

How to use

use Sergiors\Silex\PheanstalkServiceProvider;

$app->register(new PheanstalkServiceProvider(), [
    'pheanstalk.options' => [
        'server' => '',
        'port' => ''
    ]
]);

$app['pheanstalk']
    ->useTube('test')
    ->put(json_encode([
        'name' => 'Kirk'
    ]));

If you install Console Service Provider, you can enjoy more features.

License

MIT

About

Pheanstalk for Silex

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages