2017 © Pedro Peláez
 

library pheanstalk-service-provider

A Pheanstalk service provider for Silex

image

johnsn/pheanstalk-service-provider

A Pheanstalk service provider for Silex

  • Monday, May 8, 2017
  • by taion
  • Repository
  • 1 Watchers
  • 1 Stars
  • 49 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

PheanstalkServiceProvider

Simple service provider for pheanstalk, hope you enjoy., (*1)

Usage

<?php
    use Silex\Application;
    use PheanstalkServiceProvider\PheanstalkServiceProvider;

    $app = new Application();
    $app->register(new PheanstalkServiceProvider(), [
        'pheanstalk.hostname' => 'localhost',
        'pheanstalk.port' => 11300,
        'pheanstalk.timeout' => null,
    ]);

    $app->run();

Or if you don't want to use this package at all..., (*2)

<?php
    use Silex\Application;
    use Pheanstalk\Pheanstalk;

    $app = new Application();
    $app['pheanstalk'] = function() {
        return new Pheanstalk('localhost', 11300, null);
    };

    $app->run();

License

PheanstalkServiceProvider is licensed under the new bsd license, see LICENSE.md., (*3)

The Versions

08/05 2017

dev-master

9999999-dev

A Pheanstalk service provider for Silex

  Sources   Download

BSD

The Requires

 

08/05 2017

v2.0.0

2.0.0.0

A Pheanstalk service provider for Silex

  Sources   Download

BSD

The Requires

 

18/07 2014

v1.0.0

1.0.0.0

A Pheanstalk service provider for Silex

  Sources   Download

BSD

The Requires