8lines/sylius-notification-plugin-twilio-adapter
最新稳定版本:1.0.0
Composer 安装命令:
composer require 8lines/sylius-notification-plugin-twilio-adapter
包简介
Twilio adapter for Sylius Notification Plugin
README 文档
README
SyliusNotificationPlugin
Twilio Notification Channel Adapter
Table of Content
Overview
This package is an adapter for the SyliusNotificationPlugin that allows you to send notifications to Twilio.
Installation
To install the adapter you need to run the following command:
composer require 8lines/slack-notification-plugin-twilio-adapter
Then configure Twilio Notifier and add the following variable to your .env file:
TWILIO_DSN=twilio://SID:TOKEN@default?from=FROM
And finally, add the following configuration to your config/packages/notifier.yaml file:
framework: notifier: texter_transports: twilio: '%env(TWILIO_DSN)%'
Usage
After the installation, you can use the Twilio Notification Channel in your application. There are one additional option that you can specify during the notification creation:
phone number from- the phone number from which the notification will be sent.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-12