PHP code example of tailwind / laravel-rackspace-cloudqueue

1. Go to this page and download the library: Download tailwind/laravel-rackspace-cloudqueue library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tailwind / laravel-rackspace-cloudqueue example snippets


/// 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, defaults to internalURL
        ]

    ),

);,


/// config/app.php

return array(

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