tbmatuka/websocket-notify-bundle

Symfony的websocket-notify扩展包

dev-master 2024-08-16 17:14 UTC

This package is auto-updated.

Last update: 2024-09-23 14:49:40 UTC


README

Symfony扩展包,用于集成websocket-notify API调用。

安装

Symfony

  1. 使用composer下载包: $ composer require tbmatuka/websocket-notify-bundle
  2. 如果未自动添加,请将扩展包添加到bundles.php中:Tbmatuka\EditorjsBundle\TbmatukaWebsocketNotifyBundle::class => ['all' => true],
  3. 复制示例配置文件(examples/websocket_notify.yaml)或以其为例创建自己的配置。

JavaScript

examples/editorjs-init.js中有一个JS实现的示例。