djereg/async-queue

Async queue driver for Laravel framework.

This package's canonical repository appears to be gone and the package has been frozen as a result.

dev-master 2014-12-11 12:09 UTC

This package is not auto-updated.

Last update: 2024-04-12 10:19:41 UTC


README

Push the queued job to the background without waiting for its response. Now you can use the "file" and "cache" storage type. The "database" is coming soon.

Installation

Add the package to your composer.json:

{
    "require": {
        "djereg/async-queue": "dev-master"
    }
}

Add the Service Provider to the providers array in config/app.php

'providers' => array(
    // ...
    'Djereg\AsyncQueue\AsyncQueueServiceProvider',
    // ...
)

Now you have to use the async driver in config/queue.php

'default' => 'async',

'connections' => array(
	// ...
	'async' => array(
		'driver' => 'async',
		'storage' => 'file', // "file" and "cache" is now available
	),
	// ...
}

That's all!

For more info see http://laravel.com/docs/queues