Installation

The only officially supported method of installing this plugin is via composer.

Using Composer

View on Packagist, and copy the json snippet for the latest version into your project’s composer.json. Eg, v. 0.1.7 would look like this:

{
    "require": {
        "josegonzalez/cakephp-queuesadilla": "0.1.7"
    }
}

Enable plugin

You need to enable the plugin your config/bootstrap.php file:

<?php
Plugin::load('Josegonzalez/CakeQueuesadilla');

If you are already using Plugin::loadAll();, then this is not necessary.

Consume the Configuration

Once loaded, you’ll need to consume the configuration in your config/bootstrap.php like so:

<?php
use Josegonzalez\CakeQueuesadilla\Queue\Queue;
Configure::load('Queuesadilla');
Queue::config(Configure::consume('Queuesadilla'));