vikilaboy / laravel-zmq
A ZeroMQ broadcast driver for Laravel 5-11
Installs: 9 808
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 9
pkg:composer/vikilaboy/laravel-zmq
Requires
- ext-zmq: *
- illuminate/broadcasting: ^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12
- illuminate/contracts: ^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12
- illuminate/http: ^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12
This package is auto-updated.
Last update: 2025-10-16 20:11:51 UTC
README
A Laravel wrapper for ext-zmq that exposes a zmq broadcast driver to publish your Laravel events via ZeroMQ.
Requirements
- PHP 7.1
- Laravel 5.5
- ZeroMQ
- ext-zmq for PHP
Installation
$ composer require pelim/laravel-zmq
The service provider is loaded automatically in Laravel 5.5 using Package Autodiscovery.
Publish vendor files to create your config/zmq.php file
$ php artisan vendor:publish --provider="Pelim\ZmqServiceProvider"
Update your config/zmq.php with the appropriate socket details.
Set BROADCAST_DRIVER=zmq in your .env and add the following ZeroMQ connection settings to your config/broadcasting.php:
'connections' => [ 'zmq' => [ 'driver' => 'zmq', ], ]