Skip to content

rahmanramsi/laravel-async-queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Async Queue driver for Laravel

Async Queue driver for Laravel provides an asyncronous queue processing without using any third-party queue services like Redis, RabbitMQ, etc.

Under the hood, it uses AMPHP to handle asyncronous queue processing. All jobs are processed after the response is sent to the browser.

Installation

You can install this package via composer using this command:

composer require rahmanramsi/laravel-async-queue

The package will automatically register itself.

Configuration

Add connection to config/queue.php:

This is the config for the async connection/driver to work.

'connections' => [
    // ...
    'async' => [
        'driver' => 'async',
    ],

    // ...    
],

Usage

Change the default queue driver to async in your .env file:

QUEUE_CONNECTION=async

If you do not know how to use the Queue API, please refer to the official Laravel documentation: http://laravel.com/docs/queues

Contribution

You can contribute to this package by discovering bugs and opening issues. Please, add to which version of package you create pull request or issue. (e.g. [5.2] Fatal error on delayed job)

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages