I’m using several Windows Azure services for a project that I have been working on. A service from Azure that I haven’t yet had a chance to use was Azure Queues. Seeing as though part of this project involves a Laravel application that makes use of the Laravel Queue component I decided it was a good opportunity to give the service a shot. I searched around but wasn’t able to find a Laravel Queue driver for Azure. So I decided to write a new driver and contribute it back to the community.

Most of the heavy lifting here is handled by the Windows Azure SDK for PHP. Using the existing Laravel Queue drivers as a template I was able to quickly get a new driver up and running.

Below are some instructions on how to install and configure this driver.

Installation and Configuration

Begin by installing this package through Composer. You will need add the following to your project’s composer.json file:

    "require": {
        "heedworks/laravel-queue-azure": "dev-master"
    "repositories": [
            "type": "pear",
            "url": "http://pear.php.net"
    "minimum-stability": "dev"

Next, update Composer from the command line:

composer update

Once that completes you will need to register the Azure Queue service provider by adding it to the providers array in the app/config/app.php file.


Finally, configure your connection in app/config/queue.php:

'azure' => array(
    'driver' => 'azure',    
    'queue' => 'your-queue-name',
    'protocol' => 'your-protocol-choice', // http or https
    'account' => 'your-account-name',
    'key' => 'your-key'


For details on how to use Laravel Queues please refer to the official documentation found here.


The source for this package is available on GitHub. Please post any issues, comments, and requests to GitHub. Contributions and feedback are always welcome.

This package has also been posted to Packagist for installation through Composer.