New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

vikilaboy/laravel-zmq

A ZeroMQ broadcast driver for Laravel 5-11
9,808
Install
composer require vikilaboy/laravel-zmq:dev-master
License:MIT
Last Updated:Jun 16, 2025
Links: GitHub  ·  Packagist
Maintainer: vikilaboy

Laravel ZeroMQ

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',
    ],
]

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664