承接 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
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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