digitaltolk/multiple-broadcaster
最新稳定版本:v1.2.0
Composer 安装命令:
composer require digitaltolk/multiple-broadcaster
包简介
Multiple broadcast driver for Laravel
README 文档
README
This driver will enable your app to support multiple drivers for broadcasting.
How does this driver work?
It will just loop through your specified broadcast connections and execute each just like when you set it as default.
Requirements
You must already have configured broadcasting. It is my assumption that you already have a working broadcast configuration that you wish to extend it and support other broadcast driver simultaneously.
Installation
composer require digitaltolk/multiple-broadcaster- Next, go into your
config/broadcasting.phpfile and add the following lines accordingly:return [ ........ 'connections' => [ 'multiple' => [ 'driver' => 'multiple', 'connections' => ['log', 'pusher'], ], ] ];
- Lastly, on your
.envfile, set theBROADCAST_DRIVERtomultiple.
Authors
统计信息
- 总下载量: 59.61k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-11