vikilaboy/laravel-zmq
Composer 安装命令:
composer require vikilaboy/laravel-zmq
包简介
A ZeroMQ broadcast driver for Laravel 5-11
README 文档
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', ], ]
统计信息
- 总下载量: 9.81k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-17