tenancy/laravel-websockets-bridge
Composer 安装命令:
composer require tenancy/laravel-websockets-bridge
包简介
Package to bridge beyondcode/laravel-websockets to hyn/multi-tenant.
README 文档
README
This was created in 2 hours and has not been tested. I can't even guarantee there's a need beyond what beyondcode/laravel-websockets provides natively. It goes without saying that this exists without warranty of success.
How to install:
- Run
composer require tenancy/laravel-websockets-bridge- You should already have
hyn/multi-tenantandbeyondcode/laravel-websocketsinstalled following each package's documented install process.
- You should already have
- In the
config/websockets.phpfile, update thestatistics->modelkey to have a value of\Tenancy\LaravelWebsockets\Models\WebsocketsStatisticsEntry::class- This ensures the model uses the
systemdatabase connection, even if you havetenantas default.
- This ensures the model uses the
统计信息
- 总下载量: 41
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 13
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-12-08