Download the PHP package wowo/wowo-queue-bundle without Composer

On this page you can find all versions of the php package wowo/wowo-queue-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wowo-queue-bundle

WowoQueueBundle

Build Status SensioLabsInsight

The WowoQueueBundle provides unified method for use queue systems, like Beanstalkd, RabbitMQ, flat files, database driven queues, etc. For now it only supports Beanstalkd, but you can add your own implementation on your own and send pull request.

Installation

Step 1: Download WowoQueueBundle

If you are using Deps (Symfony 2.0.x)

Add following lines to your deps file:

Now, run the vendors script to download the bundle:

If you are using Composer (Symfony >= 2.1.x)

Add following lines to your composer.json requirements:

Now, install the bundle with composer:

Step 2: Configure the Autoloader

(You can jump to Step 3 if you are using composer)

Add the Wowo namespace to your autoloader:

Also add Pheanstalk init on the bottom of autoload:

Step 3: Enable the bundle

Finally, enable the bundle in the kernel:

Step 4: install and run beanstalkd

On Debian linux systems (including Ubuntu) you can run:

Then run it as a daemon:

Note: If your beanstalkd service is running in other address or port, you must set the following parameter in your configuration:

Don't forget to change with your address and port.

Usage

Using Beanstalkd in-memory queueing server

Obtain manager with Beanstalkd implementation from the controller

Put some job into the queue to default tube wowo_queue. which can be changed by wowo_queue.pheanstalk.tube parameter

Get jobs as soon as they appear in queue. In below example an infinite loop is presented. Such operations should be run as a background tasks, which listens to the queue and processes jobs when they appear.

Deleting jobs from the queue is fairly easy

Using Beanstalkd implementation without service container

Manager object creation is simple and can be done as listed below. This is useful when you don't use bundle in Symfony project.

In case you are not using autoloader, Pheanstalk need to be autoloaded by hand:

tracking

Amazon SQS

The SQSQueueImplementation utilizes the AWS PHP SDK v2

Configuration

To inject the SQS Implementation into your QueueManager, make sure you instantiate it with a configured SQS client and an associative array mapping tube names to SQS queue names.

Symfony bundle's services.yml example

From there, you can simply inject the SQS implementation into your QueueManager to get or put messages


All versions of wowo-queue-bundle with dependencies

PHP Build Version
Package Version
Requires pda/pheanstalk Version v2.1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wowo/wowo-queue-bundle contains the following files

Loading the files please wait ....