Download the PHP package mmoreram/rsqueue-bundle without Composer

On this page you can find all versions of the php package mmoreram/rsqueue-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 rsqueue-bundle

WARNING !!
Moving to https://github.com/rsqueue/RSQueueBundle
This package will be abandoned soon

RSQueueBundle for Symfony

Simple queuing system based on Redis

SensioLabsInsight Build Status Scrutinizer Quality Score

Table of contents

  1. Installing/Configuring
    • Tags
    • Installing Redis
    • Installing PHPRedis
    • Installing RSQueue
    • Configuration
  2. Producers/Consumers
  3. Publishers/Subscribers
  4. Events
  5. Contributing

Installing/Configuring

Tags

Installing Redis

Installing PHPRedis

phpredis extension is necessary to be installed in your server.
Otherwise composer will alert you.

Installing RSQueue

You have to add require line into you composer.json file

Then you have to use composer to update your project dependencies

And register the bundle in your appkernel.php file

Configuration

In this first version, all conections are localhost:6379, but as soon as posible connections will be configurable.
You need to configure all queues and serializer.
By default serializer has the value 'Json', but also 'PHP' value can be used. Also custom serializer can be implemented by extending default serializer interface. Then you need to add namespace of class into the rs_queue.serializer parameter.

Producers/Consumers

Producer/consumer model allows you to produce elements into one/many queues by using default rsqueue producer service.
One element is pushed into one queue so one and only one consumer will pop and treat this element.

Then you should extend ConsumerCommand so that in this way you can define which queues listen, and in each case, which action execute.

Publishers/Subscribers

This model allows data broadcasting. This means that one or more Subscribers will treat all elements of the queue, but only if they are listening just in the moment publisher publish them.

And, as consumers, subscribers must define which channels they want to listen

By extending PSubscriberCommand you can define patterns instead of queue names.

Events

Custom events are used in this bundle.

Contributing

All code is Symfony2 Code formatted, so every pull request must validate phpcs standards. You should read Symfony2 coding standards and install this CodeSniffer to check all code is validated.

There is also a policy for contributing to this project. All pull request must be all explained step by step, to make us more understandable and easier to merge pull request. All new features must be tested with PHPUnit.

If you'd like to contribute, please read the Contributing Code part of the documentation. If you're submitting a pull request, please follow the guidelines in the Submitting a Patch section and use the Pull Request Template.


All versions of rsqueue-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
symfony/event-dispatcher Version ~2.3|~3.0
symfony/framework-bundle Version ~2.3|~3.0
doctrine/annotations Version ^1.1.2
symfony/console Version ~2.3|~3.0
symfony/config Version ~2.3|~3.0
symfony/http-kernel Version ~2.3|~3.0
symfony/dependency-injection Version ~2.3|~3.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 mmoreram/rsqueue-bundle contains the following files

Loading the files please wait ....