Download the PHP package gendoria/command-queue-doctrine-bundle without Composer

On this page you can find all versions of the php package gendoria/command-queue-doctrine-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 command-queue-doctrine-bundle

Command Queue Doctrine Bundle

Build Status Scrutinizer Code Quality Code Coverage Downloads Latest Stable Version

Doctrine driver bundle for gendoria/command-queue-bundle.

Bundle created in cooperation with Isobar Poland.

Installation

Step 0: Prerequisites

:warning: Before using this bundle, you should install and configure gendoria/command-queue-bundle and doctrine/doctrine-bundle.

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

Gendoria Command Queue Bundle should also be enabled and configured.

Step 3: Add bundle configuration

The example bundle configuration looks as one below.

poolname key in drivers section can be any valid string. It allows to create separate driver 'pools' for command routing.

serializer parameter is used to specify serializer driver used by the driver. You should use jms or symfony driver here, where jms is preferred.

Some serializer drivers are provided by Gendoria Command Queue Bundle.

Step 4: Add a driver to Command Queue Bundle configuration

For each command queue pool you want to use rabbitmq driver on, you should set it as send_driver.

So for gendoria_command_queue_doctrine_driver.driver.poolname, your configuration should look similar to code below.

Step 5: Create database schema

Bundle provides Symfony command to create appropriate database schema. To run it, type

Symfony 2.x:

Symfony 3.x:

This command will check your configuration for database connections and queue tables. If any of the tables is missing in database, it will try to create it. The command will not touch existing tables, so it is safe to run it multiple times.

On the other hand, it will not (at the moment) check database for schema changes and update them.

Usage

To start receiving commands for your pool, you have to start one rabbitmq bundle worker process.

The command to do that is

Symfony 2.x:

Symfony 3.x:

Where poolname is the pool name you defined in pools section of configuration.

You should use services like supervisord to control running and restarting your workers.


All versions of command-queue-doctrine-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.0
gendoria/command-queue Version ~0.2.0
gendoria/command-queue-bundle Version ~0.2.0
symfony/framework-bundle Version ~2.7|~3.0
doctrine/doctrine-bundle Version ~1.2
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 gendoria/command-queue-doctrine-bundle contains the following files

Loading the files please wait ....