| Package Data | |
|---|---|
| Maintainer Username: | mayconbordin |
| Maintainer Contact: | mayconbordin@gmail.com (Maycon Viana Bordin) |
| Package Create Date: | 2015-07-15 |
| Package Last Update: | 2021-05-28 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-26 03:11:17 |
| Package Statistics | |
|---|---|
| Total Downloads: | 1,046 |
| Monthly Downloads: | 8 |
| Daily Downloads: | 0 |
| Total Stars: | 12 |
| Total Watchers: | 2 |
| Total Forks: | 15 |
| Total Open Issues: | 7 |
STOMP Queue and Broadcaster Driver for Laravel 5.
In order to install l5-stomp-queue, just add
"mayconbordin/l5-stomp-queue": "dev-master"
to your composer.json. Then run composer install or composer update.
Add the Service Provider to the providers array in config/app.php:
'providers' => array(
...
'Mayconbordin\L5StompQueue\StompServiceProvider',
)
And add the driver configuration to the connections array in config/queue.php:
'connections' => array(
'stomp' => [
'driver' => 'stomp',
'broker_url' => 'tcp://localhost:61613',
'queue' => 'default',
'system' => 'activemq'
]
)
And for the broadcaster add the same configuration to the connections array in config/broadcasting.php:
'connections' => array(
'stomp' => [
'driver' => 'stomp',
'broker_url' => 'tcp://localhost:61613',
'queue' => 'default',
'system' => 'activemq'
]
)
queueThe name of the queue.
systemThe name of the system that implements the Stomp protocol. Default: null.
This value is used for setting custom headers (not defined in the protocol). In the case of ActiveMQ, it will set the
AMQ_SCHEDULED_DELAY (see docs)
header in order to give support for the later method, defined at Illuminate\Contracts\Queue.
syncWhether the driver should be synchronous or not when sending messages. Default: false.
prefetchSizeThe number of messages that will be streamed to the consumer at any point in time. Applicable only to ActiveMQ. Default: 1.
For more information see the ActiveMQ documentation.
clientIdUsed for durable topic subscriptions. It will set the activemq.subcriptionName property. See documentation
for more information.
username and passwordUsed for connecting to the Stomp server.