tbmatuka / websocket-notify-bundle
Symfony的websocket-notify扩展包
dev-master
2024-08-16 17:14 UTC
Requires
- php: >=8.1
- ext-json: *
- symfony/config: ^6.0|^7.0
- symfony/dependency-injection: ^6.0|^7.0
- symfony/framework-bundle: ^6.0|^7.0
- symfony/http-foundation: ^6.0|^7.0
- symfony/http-kernel: ^6.4|^7.0
- symfony/options-resolver: ^6.0|^7.0
- symfony/property-access: ^6.0|^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^v3.62.0
- roave/security-advisories: dev-latest
This package is auto-updated.
Last update: 2024-09-23 14:49:40 UTC
README
Symfony扩展包,用于集成websocket-notify API调用。
安装
Symfony
- 使用composer下载包:
$ composer require tbmatuka/websocket-notify-bundle
- 如果未自动添加,请将扩展包添加到
bundles.php
中:Tbmatuka\EditorjsBundle\TbmatukaWebsocketNotifyBundle::class => ['all' => true],
- 复制示例配置文件(
examples/websocket_notify.yaml
)或以其为例创建自己的配置。
JavaScript
在examples/editorjs-init.js
中有一个JS实现的示例。