dev-master
9999999-devA Pheanstalk service provider for Silex
BSD
The Requires
v2.0.0
2.0.0.0A Pheanstalk service provider for Silex
BSD
The Requires
v1.0.0
1.0.0.0A Pheanstalk service provider for Silex
BSD
The Requires
Wallogit.com
2017 © Pedro Peláez
A Pheanstalk service provider for Silex
Simple service provider for pheanstalk, hope you enjoy., (*1)
<?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();
PheanstalkServiceProvider is licensed under the new bsd license, see LICENSE.md., (*3)
A Pheanstalk service provider for Silex
BSD
A Pheanstalk service provider for Silex
BSD
A Pheanstalk service provider for Silex
BSD