sergiors / pheanstalk-service-provider
Pheanstalk for Silex
Installs: 3 133
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: >=5.5
- leezy/pheanstalk-bundle: ^3.0
- silex/silex: ^2.0
Requires (Dev)
- pdepend/pdepend: ^2.2
- phing/phing: ^2.13
- phploc/phploc: ^2.1
- phpmd/phpmd: ^2.3
- phpunit/phpunit: ~4.8
- sebastian/phpcpd: ^2.0
- sergiors/console-service-provider: ^2.0
- squizlabs/php_codesniffer: ^2.4
Suggests
This package is not auto-updated.
Last update: 2024-11-09 19:28:26 UTC
README
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