Download the PHP package acdphp/laravel-queued-events without Composer
On this page you can find all versions of the php package acdphp/laravel-queued-events. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download acdphp/laravel-queued-events
More information about acdphp/laravel-queued-events
Files in acdphp/laravel-queued-events
Download acdphp/laravel-queued-events
More information about acdphp/laravel-queued-events
Files in acdphp/laravel-queued-events
Vendor acdphp
Package laravel-queued-events
Short Description Dispatching Events into queues. This is especially useful for distributed systems events using fanout queues.
License MIT
Package laravel-queued-events
Short Description Dispatching Events into queues. This is especially useful for distributed systems events using fanout queues.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-queued-events
Laravel Queued Events
Dispatching Events into queues. This is especially useful for distributed systems events using fanout queues.
Installation
- Install the package
Usage
-
Extend
QueuedEvent
to your event. -
Call
dispatch()
-
You may specify a queue connection and queue:
- Utilities are also available:
dispatchIf()
,dispatchUnless()
-
- Default dispatch methods are prefixed with
internal
Configuration
QUEUED_EVENTS_QUEUE_CONNECTION
The default queue connection will be whatever your QUEUE_CONNECTION
is set. You may override this by setting QUEUED_EVENTS_QUEUE_CONNECTION
QUEUED_EVENTS_QUEUE
The default queue will be default
. You may override this by setting QUEUED_EVENTS_QUEUE
Notes
- Using Laravel helpers, like
event(...)
orapp('events')->dispatch(...)
, will dispatch the job internally. Only use::dispatch
,::dispatchIf
and::dispatchUnless
to dispatch on queue. - Use Laravel's queued listener if you're only using this in a monolithic application.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-queued-events with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package acdphp/laravel-queued-events contains the following files
Loading the files please wait ....