cang-ha/laravel5-rackspace-cloudqueue

Rackspace CloudQueue driver for Laravel 5 Queue

v1.0.8 2018-02-23 19:04 UTC

This package is auto-updated.

Last update: 2022-01-07 09:51:40 UTC


README

This is a fork of faulker's laravel5 rackspace cloud queue (https://github.com/faulker/laravel5-rackspace-cloudqueue)

Installation

Install via Composer

composer require "cang-ha/laravel5-rackspace-cloudqueue"

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 (Only for Laravel 5.4 and below)

/// config/app.php

return array(

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