sergiors/pheanstalk-service-provider

Pheanstalk for Silex

Installs: 3 134

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 1

Open Issues: 0

pkg:composer/sergiors/pheanstalk-service-provider

1.0.0 2016-08-04 03:44 UTC

This package is not auto-updated.

Last update: 2025-10-12 00:41:35 UTC


README

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