nathanmac / laravel-queue-softlayer by nathanmac

SoftLayer message driver for Laravel Queue
30
0
2
Package Data
Maintainer Username: nathanmac
Maintainer Contact: nathan.macnamara@outlook.com (Nathan Macnamara)
Package Create Date: 2014-11-19
Package Last Update: 2014-11-21
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-14 15:10:24
Package Statistics
Total Downloads: 30
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

SoftLayer Message Queue driver for Laravel

License Build Status

Installation

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

"nathanmac/laravel-queue-softlayer": "1.*"

or run:

composer require "nathanmac/laravel-queue-softlayer"

After composer update is finished you need to add ServiceProvider to your providers array in app.php:

'Nathanmac\LaravelQueueSoftLayer\LaravelQueueSoftLayerServiceProvider',

now you are able to configure your connections in queue.php:

return [

	'default'     => 'softlayer',

	'connections' => [

		'softlayer' => [
			'driver'         => 'softlayer',
	
	        'account'        => '', // SoftLayer Queue Account
			'username'       => '', // SoftLayer Username
			'token'          => '', // SoftLayer Password

			'queue'          => '', // name of the default queue
			
			 // Optional configuration settings for SoftLayer
            'endpoint'       => 'dal05',
            'private'        => true
		],

	],

];

Usage

Once you completed the configuration you can use Laravel Queue API. If you used other queue drivers you do not need to change anything else. If you do not know how to use Queue API, please refer to the official Laravel documentation: http://laravel.com/docs/queues