library pheanstalkserviceprovider
maxwell2022/pheanstalkserviceprovider
- Monday, February 10, 2014
- by Maxwell2022
- Repository
- 1 Watchers
- 0 Stars
- 11 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
PheanstalkServiceProvider
Silex Provider for pheanstalk, (*1)
, (*2)
Installation
Using your composer.json:, (*3)
{
"maxwell2022/pheanstalkserviceprovider": "dev-master"
}
$ ./composer.phar update
Provider registration
$app->register(new \Maxwell2022\Silex\Provider\PheanstalkServiceProvider(), array(
'pheanstalk.host' => 'localhost'
));
You can specify the following additional options: pheanstalk.port (default to 11300) and pheanstalk.timeout default to 30 seconds, (*4)