Download the PHP package pmg/pheanstalk-bundle without Composer
On this page you can find all versions of the php package pmg/pheanstalk-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pmg/pheanstalk-bundle
More information about pmg/pheanstalk-bundle
Files in pmg/pheanstalk-bundle
Package pheanstalk-bundle
Short Description A simple bundle that integrate Pheanstalk with Symfony
License Apache-2.0
Informations about the package pheanstalk-bundle
PmgPheanstalkBundle
An extremely simple Symfony bundle that puts one or more Pheanstalk connections into your Symfony application.
If you're looking for something more full featured, check out LeezyPheanstalkBundle.
Installation
1. Download the Bundle
2. Enable the Bundle
Configuration
By default the bundle will provide you with one Pheanstalk\Pheanstalk
named
pmg_pheanstalk
in the container. This connects to localhost
on the default
11300
port.
Single Connection Example
Multiple Connections
Statistic Endpoints
This bundle includes a few basic endpoints that return JSON data that provides information about the queue tubes.
Each endpoint also allows for a connection
parameter to be supplied. If it is not, the default
connection is used.
Enabling the endpoints
Add the following line to your routing.xml
file. (Or equivalent YML file)
Available endpoints
[GET] /{tube}
- Provides all information from beanstalkd about the given tube[GET] /
- Provides all information about all tubes from beanstalkd
All versions of pheanstalk-bundle with dependencies
pda/pheanstalk Version ^4.0
symfony/framework-bundle Version ^5.4.34 || ^6.4
symfony/console Version ^5.4.34 || ^6.4