Download the PHP package jlorente/laravel-application-end-queue without Composer
On this page you can find all versions of the php package jlorente/laravel-application-end-queue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jlorente/laravel-application-end-queue
More information about jlorente/laravel-application-end-queue
Files in jlorente/laravel-application-end-queue
Package laravel-application-end-queue
Short Description A Laravel queue connector to process jobs at the end of the application
License BSD-3-Clause
Informations about the package laravel-application-end-queue
Laravel Application End Queue
A Laravel queue connector to process the enqueued jobs at the end of the application.
This connector is very similar to the "sync" connector with the difference that jobs are executed at the end of the application instead of instantly.
It is useful for example when sending real time notifications to third party webhooks inside database transactions. With the "sync" connector, if the third party application webhook queries your API, as the transaction wouldn't have end, the third party application won't know the real state of the model. With this connector, the notification will be sent at the end of the application when all commits have been executed.
Installation
The preferred way to install this extension is through composer.
With Composer installed, you can then install the extension using the following commands:
or add
to the section of your composer.json
file.
Configuration
Register the ServiceProvider in your config/app.php service provider list.
config/app.php
Then add the driver to the application config queue file.
config\queue.php
Usage
See the Laravel documentation to learn how to use jobs and queues.
Remember that notifications can also be enqueued.
License
Copyright © 2019 José Lorente Martín [email protected].
Licensed under the BSD 3-Clause License. See LICENSE.txt for details.