faulker/laravel5-rackspace-cloudqueue

Rackspace CloudQueue driver for Laravel 5 Queue

v1.0.5 2016-07-14 23:48 UTC

This package is not auto-updated.

Last update: 2020-06-05 01:17:08 UTC


README

NOTE: This is a fork of Russell Todd's Laravel 5.0 branch (https://github.com/npmweb/laravel-rackspace-cloudqueue)

##Installation

Install via Composer

Require this package in your composer.json and run composer update:

"faulker/laravel5-rackspace-cloudqueue": "~1.0"

Add Configuration

// config/queue.php

return array(
    'default'     => 'rackspace',

    'connections' => array(

        'rackspace'  => [
            'driver'   => 'rackspace',
            'queue'    => 'default_tube', // the default queue
            'endpoint' => 'US',  // US or UK
            'username' => 'SOME_RACKSPACE_USERNAME',
            'apiKey'   => 'SOME_RACKSPACE_API_KEY',
            'region'   => 'ORD', // THE REGION WHERE THE QUEUE IS SETUP
            'urlType'  => 'internalURL', // [Optional] (default: internalURL) publicURL if connection from remote network or internalURL if connection from RackSpace network.
        ]

    ),

);,

Add Service Provider

/// config/app.php

return array(

    'providers'  => array(
        'Faulker\RackspaceCloudQueue\RackspaceCloudQueueServiceProvider'
    ),
);