定制 8lines/sylius-notification-plugin-slack-adapter 二次开发

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

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

8lines/sylius-notification-plugin-slack-adapter

最新稳定版本:1.0.1

Composer 安装命令:

composer require 8lines/sylius-notification-plugin-slack-adapter

包简介

Slack adapter for Sylius Notification Plugin

README 文档

README

8lines

SyliusNotificationPlugin

Slack Notification Channel Adapter

Table of Content

Overview

This package is an adapter for the SyliusNotificationPlugin that allows you to send notifications to Slack.

Installation

To install the adapter you need to run the following command:

composer require 8lines/sylius-notification-plugin-slack-adapter

Then configure Slack Notifier and add the following variable to your .env file:

SLACK_DSN=slack://TOKEN@default?channel=CHANNEL

And finally, add the following configuration to your config/packages/notifier.yaml file:

framework:
  notifier:
    chatter_transports:
      slack: '%env(SLACK_DSN)%'

Usage

After the installation, you can use the Slack Notification Channel in your application. There are one additional option that you can specify during the notification creation:

  • recipient - the channel to which the notification will be sent. It can be either a channel name or a channel ID. If not specified, the notification will be sent to the default channel.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固