定制 proglab/space-transport-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

proglab/space-transport-bundle

Composer 安装命令:

composer require proglab/space-transport-bundle

包简介

A transport for JetBrain Space for the symfony Notifier

README 文档

README

A bundle symfony for Jetbrains Space Transport in symfony notifier.

Installation

Open a command console, enter your project directory and execute:

composer require proglab/space-client-bundle

f you're not using symfony/flex, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:

return [
    // ...
    Proglab\SpaceClientBundle\SpaceClientBundle::class => ['all' => true],
];

Copy src/Resources/config/proglab_space_transport.yaml to your config/packages/proglab_space_transport.yaml and update the space url

And finally you must add this to your .env file :

###> proglab/space-transport-bundle ###
SPACE_DSN=space://{{token}}@{{host_url_space}}?channel={{default_channel}}
###< proglab/space-transport-bundle ###

Usage

The default space Channel is defined in your .env file.

use Proglab\SpaceClientBundle\SpaceTransport\SpaceNotification;


$notification = new SpaceNotification('Welcome Aboard', ['chat/space']);
$notification->setChannel('Xxx'); // you can override the default channel if necessary
$notifier->send($notification);

统计信息

  • 总下载量: 195
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-05-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固