Skip to content

pbaire/laravel-azure-servicebus-queue

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Windows Azure Servicebus Queue driver for Laravel

Installation

Require this package in your composer.json:

"stayallive/laravel-azure-servicebus-queue": "1.*"

Add the following pear repository in your composer.json required by the Azure SDK:

"repositories": [
    {
        "type": "pear",
        "url": "http://pear.php.net"
    }
],

Run composer update!

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

'Stayallive\LaravelAzureServicebusQueue\Support\Serviceprovider',

add the following to the connection array in app/config/queue.php, set your default connection to azure and fill out your own connection data from the Azure Management portal:

'azure' => array(
    'driver'       => 'azure.servicebus',
    'endpoint'     => 'https://*.servicebus.windows.net',
    'secret'       => '',
    'secretissuer' => 'owner',
    'queue'        => ''
)

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.

Contribution

You can contribute to this package by opening issues/pr's. Enjoy!

About

Windows Azure Servicebus Queue driver for Laravel

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%